summaryrefslogtreecommitdiff
path: root/modules/extra/cs_appendtopic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/cs_appendtopic.cpp')
-rw-r--r--modules/extra/cs_appendtopic.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/extra/cs_appendtopic.cpp b/modules/extra/cs_appendtopic.cpp
index 8d376e661..42ccb8187 100644
--- a/modules/extra/cs_appendtopic.cpp
+++ b/modules/extra/cs_appendtopic.cpp
@@ -130,6 +130,8 @@ class CommandCSAppendTopic : public Command
class CSAppendTopic : public Module
{
+ CommandCSAppendTopic commandcsappendtopic;
+
public:
CSAppendTopic(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
@@ -138,7 +140,7 @@ class CSAppendTopic : public Module
this->SetAuthor(AUTHOR);
this->SetType(SUPPORTED);
- this->AddCommand(ChanServ, new CommandCSAppendTopic());
+ this->AddCommand(ChanServ, &commandcsappendtopic);
/* English (US) */
const char *langtable_en_us[] = {