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_mode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_mode.cpp') diff --git a/modules/commands/cs_mode.cpp b/modules/commands/cs_mode.cpp index 0974f18c2..856b43870 100644 --- a/modules/commands/cs_mode.cpp +++ b/modules/commands/cs_mode.cpp @@ -828,14 +828,14 @@ class CSMode : public Module { CommandCSMode commandcsmode; CommandCSModes commandcsmodes; - Serialize::Type modelocks_type; ExtensibleItem modelocks; + Serialize::Type modelocks_type; public: CSMode(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandcsmode(this), commandcsmodes(this), - modelocks_type("ModeLock", ModeLockImpl::Unserialize), - modelocks(this, "modelocks") + modelocks(this, "modelocks"), + modelocks_type("ModeLock", ModeLockImpl::Unserialize) { } -- cgit