summaryrefslogtreecommitdiff
path: root/src/modules/cs_tban.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_tban.c')
-rw-r--r--src/modules/cs_tban.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 0e86007d5..358a4718c 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -21,7 +21,6 @@
#define AUTHOR "Rob"
#define VERSION "$Id$"
-void myHelp(User *u);
void mySendResponse(User *u, const char *channel, char *mask, const char *time);
void addBan(Channel *c, time_t timeout, char *banmask);
@@ -94,7 +93,6 @@ class CSTBan : public Module
{
me = this;
- this->SetChanHelp(myHelp);
this->AddCommand(CHANSERV, new CommandCSTBan(), MOD_HEAD);
this->SetAuthor(AUTHOR);
@@ -158,13 +156,12 @@ class CSTBan : public Module
this->InsertLanguage(LANG_RU, LANG_NUM_STRINGS, langtable_ru);
this->InsertLanguage(LANG_IT, LANG_NUM_STRINGS, langtable_it);
}
+ void ChanServHelp(User *u)
+ {
+ this->NoticeLang(s_ChanServ, u, TBAN_HELP);
+ }
};
-void myHelp(User *u)
-{
- me->NoticeLang(s_ChanServ, u, TBAN_HELP);
-}
-
void mySendResponse(User *u, const char *channel, char *mask, const char *time)
{
me->NoticeLang(s_ChanServ, u, TBAN_RESPONSE, mask, channel, time);