diff options
Diffstat (limited to 'modules/core/os_jupe.cpp')
-rw-r--r-- | modules/core/os_jupe.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_jupe.cpp b/modules/core/os_jupe.cpp index 68ff2841a..a6d478708 100644 --- a/modules/core/os_jupe.cpp +++ b/modules/core/os_jupe.cpp @@ -64,13 +64,15 @@ class CommandOSJupe : public Command class OSJupe : public Module { + CommandOSJupe commandosjupe; + public: OSJupe(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSJupe()); + this->AddCommand(OperServ, &commandosjupe); } }; |