diff options
Diffstat (limited to 'modules/core/os_chankill.cpp')
-rw-r--r-- | modules/core/os_chankill.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_chankill.cpp b/modules/core/os_chankill.cpp index 52eef6b1a..4f8b7f34c 100644 --- a/modules/core/os_chankill.cpp +++ b/modules/core/os_chankill.cpp @@ -103,13 +103,15 @@ class CommandOSChanKill : public Command class OSChanKill : public Module { + CommandOSChanKill commandoschankill; + public: OSChanKill(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSChanKill()); + this->AddCommand(OperServ, &commandoschankill); } }; |