diff options
Diffstat (limited to 'modules/core/cs_unban.cpp')
-rw-r--r-- | modules/core/cs_unban.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_unban.cpp b/modules/core/cs_unban.cpp index 0d248b8eb..9b9360f23 100644 --- a/modules/core/cs_unban.cpp +++ b/modules/core/cs_unban.cpp @@ -75,13 +75,15 @@ class CommandCSUnban : public Command class CSUnban : public Module { + CommandCSUnban commandcsunban; + public: CSUnban(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(ChanServ, new CommandCSUnban()); + this->AddCommand(ChanServ, &commandcsunban); } }; |