From 348060073d06ffe312c6f54007f835aa9a8dec58 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 11 Jan 2001 09:25:16 +0000 Subject: [PATCH] cmd_param_error -> cmd_return_error git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1103 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index 1af55608..1b72e4f6 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -921,7 +921,7 @@ static void cmd_knockout(const char *data, IRC_SERVER_REC *server, if (!IS_IRC_CHANNEL(channel)) cmd_return_error(CMDERR_NOT_JOINED); if (!channel->wholist) - cmd_param_error(CMDERR_CHAN_NOT_SYNCED); + cmd_return_error(CMDERR_CHAN_NOT_SYNCED); if (is_numeric(data, ' ')) { /* first argument is the timeout */