summaryrefslogtreecommitdiff
path: root/src/core/cs_ban.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-16 02:18:07 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-16 02:18:07 +0000
commitd8e1f104a4042ef985a7f6c6a2994e6fb931925c (patch)
tree401b89044b827c5b5dbe59e417ab0886b1c0be6c /src/core/cs_ban.c
parent76e83f613bb162b50f31eeb7513495c38a5f8993 (diff)
Show proper syntax errors on CS BAN and CS KICK, patch from Adam.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2278 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r--src/core/cs_ban.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c
index 058c2ad6f..21eed2551 100644
--- a/src/core/cs_ban.c
+++ b/src/core/cs_ban.c
@@ -107,8 +107,7 @@ class CommandCSBan : public Command
void OnSyntaxError(User *u)
{
- // XXX: temporary, this can be tackled when the language system isn't so goddamn hairy.
- syntax_error(s_ChanServ, u, "BAN", CHAN_UNBAN_SYNTAX);
+ syntax_error(s_ChanServ, u, "BAN", CHAN_BAN_SYNTAX);
}
};