summaryrefslogtreecommitdiff
path: root/modules/commands/ns_ajoin.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-27 03:18:43 -0400
committerAdam <Adam@anope.org>2013-08-27 03:18:43 -0400
commit59ea36c831796aaa29427e9645e4eb56185b04f3 (patch)
tree53d7d700c9dfd066ca86739ca7bbd75f0fa990b9 /modules/commands/ns_ajoin.cpp
parentfac880664c41f36a6f091e2b6e6321a51bc5070b (diff)
Move Serialize::Types to construct after the corresponding extensible items they require when unserializing
Diffstat (limited to 'modules/commands/ns_ajoin.cpp')
-rw-r--r--modules/commands/ns_ajoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp
index 4409afa2b..6566dded6 100644
--- a/modules/commands/ns_ajoin.cpp
+++ b/modules/commands/ns_ajoin.cpp
@@ -225,13 +225,13 @@ class CommandNSAJoin : public Command
class NSAJoin : public Module
{
CommandNSAJoin commandnsajoin;
- Serialize::Type ajoinentry_type;
ExtensibleItem<AJoinList> ajoinlist;
+ Serialize::Type ajoinentry_type;
public:
NSAJoin(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
- commandnsajoin(this),
- ajoinentry_type("AJoinEntry", AJoinEntry::Unserialize), ajoinlist(this, "ajoinlist")
+ commandnsajoin(this), ajoinlist(this, "ajoinlist"),
+ ajoinentry_type("AJoinEntry", AJoinEntry::Unserialize)
{
if (!IRCD->CanSVSJoin)