diff options
Diffstat (limited to 'modules/core/os_global.cpp')
-rw-r--r-- | modules/core/os_global.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_global.cpp b/modules/core/os_global.cpp index 25c2dfe85..01c4dee5f 100644 --- a/modules/core/os_global.cpp +++ b/modules/core/os_global.cpp @@ -49,13 +49,15 @@ class CommandOSGlobal : public Command class OSGlobal : public Module { + CommandOSGlobal commandosglobal; + public: OSGlobal(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSGlobal()); + this->AddCommand(OperServ, &commandosglobal); } }; |