1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

cmd_param_error -> cmd_return_error

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1103 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-11 09:25:16 +00:00 committed by cras
parent 091e06387b
commit 348060073d

View File

@ -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 */