1
0
mirror of https://github.com/anope/anope.git synced 2026-06-24 10:56:39 +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
@@ -252,14 +252,13 @@ class CommandEntryMessage : public Command
class CSEntryMessage : public Module
{
CommandEntryMessage commandentrymsg;
Serialize::Type entrymsg_type;
ExtensibleItem<EntryMessageList> 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)
{
}