diff options
author | Adam <Adam@anope.org> | 2016-11-25 16:35:10 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-25 16:35:56 -0500 |
commit | a635344582a13d935631fbe930d79d3788359c8a (patch) | |
tree | cd7b372d02f94c7f6c18542e06d29deff0f19842 /modules/chanserv/log.cpp | |
parent | f30d99f81f6fb8abd7ca555068173bad6c99e07a (diff) |
Rename most ext fields names to be consistent with everything else, add accessors for many
Diffstat (limited to 'modules/chanserv/log.cpp')
-rw-r--r-- | modules/chanserv/log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/chanserv/log.cpp b/modules/chanserv/log.cpp index 32025e6b0..b62e03d0e 100644 --- a/modules/chanserv/log.cpp +++ b/modules/chanserv/log.cpp @@ -61,12 +61,12 @@ class LogSettingImpl : public LogSetting class LogSettingType : public Serialize::Type<LogSettingImpl> { public: - Serialize::ObjectField<LogSettingImpl, ChanServ::Channel *> ci; + Serialize::ObjectField<LogSettingImpl, ChanServ::Channel *> channel; Serialize::Field<LogSettingImpl, Anope::string> service_name, command_service, command_name, method, extra, creator; Serialize::Field<LogSettingImpl, time_t> created; LogSettingType(Module *me) : Serialize::Type<LogSettingImpl>(me) - , ci(this, "ci", &LogSettingImpl::channel, true) + , channel(this, "channel", &LogSettingImpl::channel, true) , service_name(this, "service_name", &LogSettingImpl::service_name) , command_service(this, "command_service", &LogSettingImpl::command_service) , command_name(this, "command_name", &LogSettingImpl::command_name) @@ -80,12 +80,12 @@ class LogSettingType : public Serialize::Type<LogSettingImpl> ChanServ::Channel *LogSettingImpl::GetChannel() { - return Get(&LogSettingType::ci); + return Get(&LogSettingType::channel); } void LogSettingImpl::SetChannel(ChanServ::Channel *ci) { - Set(&LogSettingType::ci, ci); + Set(&LogSettingType::channel, ci); } Anope::string LogSettingImpl::GetServiceName() |