summaryrefslogtreecommitdiff
path: root/src/core/cs_kick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_kick.c')
-rw-r--r--src/core/cs_kick.c3
1 files changed, 1 insertions, 2 deletions
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);
}
};