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:
parent
091e06387b
commit
348060073d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user