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_entrymsg.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_entrymsg.cpp') diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index aaa4f8d85..fb21f35d7 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -252,14 +252,13 @@ class CommandEntryMessage : public Command class CSEntryMessage : public Module { CommandEntryMessage commandentrymsg; - Serialize::Type entrymsg_type; ExtensibleItem eml; + Serialize::Type entrymsg_type; public: CSEntryMessage(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR), commandentrymsg(this), - entrymsg_type("EntryMsg", EntryMsg::Unserialize), - eml(this, "entrymsg") + eml(this, "entrymsg"), entrymsg_type("EntryMsg", EntryMsg::Unserialize) { } -- cgit