diff options
Diffstat (limited to 'modules/core/os_akill.cpp')
-rw-r--r-- | modules/core/os_akill.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_akill.cpp b/modules/core/os_akill.cpp index 44ba85cfb..b46e9ae7f 100644 --- a/modules/core/os_akill.cpp +++ b/modules/core/os_akill.cpp @@ -397,13 +397,15 @@ class CommandOSAKill : public Command class OSAKill : public Module { + CommandOSAKill commandosakill; + public: OSAKill(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSAKill()); + this->AddCommand(OperServ, &commandosakill); } }; |