summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/cs_ban.c3
-rw-r--r--src/core/cs_kick.c3
2 files changed, 2 insertions, 4 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);
}
};
diff --git a/src/core/cs_kick.c b/src/core/cs_kick.c
index c14b0f0a3..5ee3c2430 100644
--- a/src/core/cs_kick.c
+++ b/src/core/cs_kick.c
@@ -89,8 +89,7 @@ class CommandCSKick : public Command
void OnSyntaxError(User *u)
{
- // XXX: best I can do for now, fixme
- notice_lang(s_ChanServ, u, CHAN_X_NOT_IN_USE, "");
+ syntax_error(s_ChanServ, u, "KICK", CHAN_KICK_SYNTAX);
}
};