1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:36:38 +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 -2
View File
@@ -241,8 +241,8 @@ class CommandOSInfo : public Command
class OSInfo : public Module
{
CommandOSInfo commandosinfo;
Serialize::Type oinfo_type;
ExtensibleItem<OperInfos> oinfo;
Serialize::Type oinfo_type;
void OnInfo(CommandSource &source, Extensible *e, InfoFormatter &info)
{
@@ -262,7 +262,7 @@ class OSInfo : public Module
public:
OSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandosinfo(this), oinfo_type("OperInfo", OperInfo::Unserialize), oinfo(this, "operinfo")
commandosinfo(this), oinfo(this, "operinfo"), oinfo_type("OperInfo", OperInfo::Unserialize)
{
}