1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 23:06:38 +02:00

Move Serialize::Types to construct after the corresponding extensible items they require when unserializing

This commit is contained in:
Adam
2013-08-27 03:18:43 -04:00
parent fac880664c
commit 59ea36c831
6 changed files with 15 additions and 17 deletions
+2 -3
View File
@@ -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)
{
}