diff options
Diffstat (limited to 'modules/core/cs_getkey.cpp')
-rw-r--r-- | modules/core/cs_getkey.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_getkey.cpp b/modules/core/cs_getkey.cpp index 80fa564e8..c95330f60 100644 --- a/modules/core/cs_getkey.cpp +++ b/modules/core/cs_getkey.cpp @@ -63,13 +63,15 @@ class CommandCSGetKey : public Command class CSGetKey : public Module { + CommandCSGetKey commandcsgetkey; + public: CSGetKey(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSGetKey()); + this->AddCommand(ChanServ, &commandcsgetkey); } }; |