1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 23:23:13 +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
+3 -3
View File
@@ -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)