summaryrefslogtreecommitdiff
path: root/modules/commands/os_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_info.cpp')
-rw-r--r--modules/commands/os_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp
index b3da203c0..f5239abb4 100644
--- a/modules/commands/os_info.cpp
+++ b/modules/commands/os_info.cpp
@@ -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)
{
}