summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-11 09:25:16 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-11 09:25:16 +0000
commit348060073d06ffe312c6f54007f835aa9a8dec58 (patch)
treea3d808c98e5c7cf655bad9793997fb367277792d /src/irc
parent091e06387b18bbb976bccc23fb5c898eca7bc97c (diff)
downloadirssi-348060073d06ffe312c6f54007f835aa9a8dec58.zip
cmd_param_error -> cmd_return_error
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1103 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/irc-commands.c2
1 files changed, 1 insertions, 1 deletions
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 */