diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:59:21 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:59:21 +0000 |
commit | 84d789c72b97513ec02a4e115b90cc952fadea64 (patch) | |
tree | 92ed7471914f52e0de08c639e1f26d78edd1d409 /src/core/cs_ban.c | |
parent | 6d835a6e49d41d8353ee8506dc6d7cf7b3f1047a (diff) |
Replaced notice_lang with notice_help in all OnHelp() functions in modules. Also fixed a few smaller issues regarding the help in the modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2053 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r-- | src/core/cs_ban.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c index 51288fa6e..bb0b6d13b 100644 --- a/src/core/cs_ban.c +++ b/src/core/cs_ban.c @@ -41,7 +41,7 @@ class CommandCSBan : public Command const char *chan = params[0].c_str(); const char *target = params[1].c_str(); const char *reason = NULL; - + if (params.size() > 2) { params[2].resize(200); @@ -116,7 +116,7 @@ class CommandCSBan : public Command bool OnHelp(User *u, const std::string &subcommand) { - notice_lang(s_ChanServ, u, CHAN_HELP_BAN); + notice_help(s_ChanServ, u, CHAN_HELP_BAN); return true; } @@ -174,7 +174,7 @@ class CommandCSUnban : public Command bool OnHelp(User *u, const std::string &subcommand) { - notice_lang(s_ChanServ, u, CHAN_HELP_UNBAN); + notice_help(s_ChanServ, u, CHAN_HELP_UNBAN); return true; } |