From 59ea36c831796aaa29427e9645e4eb56185b04f3 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 27 Aug 2013 03:18:43 -0400 Subject: Move Serialize::Types to construct after the corresponding extensible items they require when unserializing --- modules/commands/cs_log.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_log.cpp') 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 MSService; CommandCSLog commandcslog; - Serialize::Type logsetting_type; ExtensibleItem 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) { } -- cgit