diff options
author | Adam <Adam@anope.org> | 2013-08-27 03:18:43 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-27 03:18:43 -0400 |
commit | 59ea36c831796aaa29427e9645e4eb56185b04f3 (patch) | |
tree | 53d7d700c9dfd066ca86739ca7bbd75f0fa990b9 /modules/commands/cs_log.cpp | |
parent | fac880664c41f36a6f091e2b6e6321a51bc5070b (diff) |
Move Serialize::Types to construct after the corresponding extensible items they require when unserializing
Diffstat (limited to 'modules/commands/cs_log.cpp')
-rw-r--r-- | modules/commands/cs_log.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp index d93dcf8a2..b74b67466 100644 --- a/modules/commands/cs_log.cpp +++ b/modules/commands/cs_log.cpp @@ -277,8 +277,8 @@ class CSLog : public Module { ServiceReference<MemoServService> MSService; CommandCSLog commandcslog; - Serialize::Type logsetting_type; ExtensibleItem<LogSettingsImpl> logsettings; + Serialize::Type logsetting_type; struct LogDefault { @@ -290,8 +290,7 @@ class CSLog : public Module public: CSLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), MSService("MemoServService", "MemoServ"), commandcslog(this), - logsetting_type("LogSetting", LogSettingImpl::Unserialize), - logsettings(this, "logsettings") + logsettings(this, "logsettings"), logsetting_type("LogSetting", LogSettingImpl::Unserialize) { } |