summaryrefslogtreecommitdiff
path: root/src/core/cs_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_set.c')
-rw-r--r--src/core/cs_set.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/cs_set.c b/src/core/cs_set.c
index 57f87ca55..6e442d4d1 100644
--- a/src/core/cs_set.c
+++ b/src/core/cs_set.c
@@ -725,11 +725,6 @@ class CommandCSSet : public Command
}
};
-void myChanServHelp(User * u)
-{
- notice_lang(s_ChanServ, u, CHAN_HELP_CMD_SET);
-}
-
class CSSet : public Module
{
public:
@@ -739,9 +734,11 @@ class CSSet : public Module
this->SetVersion("$Id$");
this->SetType(CORE);
this->AddCommand(CHANSERV, new CommandCSSet(), MOD_UNIQUE);
- this->SetChanHelp(myChanServHelp);
+ }
+ void ChanServHelp(User *u)
+ {
+ notice_lang(s_ChanServ, u, CHAN_HELP_CMD_SET);
}
};
-
MODULE_INIT("cs_set", CSSet)