diff options
author | Timo Sirainen <cras@irssi.org> | 2000-04-28 09:02:44 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-04-28 09:02:44 +0000 |
commit | eea919678ccc3bcea57911fa87e11b9a7298dfae (patch) | |
tree | 0a8d7f8d0aa59a50cd252bfd6d9cb86fcb9b07ca /src/irc/core/bans.c | |
parent | 280bdd6ee48db5c7a7ef5122e5db168d2a90ab6c (diff) | |
download | irssi-eea919678ccc3bcea57911fa87e11b9a7298dfae.zip |
/ban and /invite crashed, /mode didn't work. ctcp.c doesn't need
irssi-version.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@194 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/bans.c')
-rw-r--r-- | src/irc/core/bans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/bans.c b/src/irc/core/bans.c index c492d3da..962c3c8d 100644 --- a/src/irc/core/bans.c +++ b/src/irc/core/bans.c @@ -169,7 +169,7 @@ static void command_set_ban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC if (server == NULL || !server->connected || !irc_server_check(server)) cmd_return_error(CMDERR_NOT_CONNECTED); - params = cmd_get_params(data, 2 | PARAM_FLAG_OPTCHAN | PARAM_FLAG_GETREST, + params = cmd_get_params(data, 3 | PARAM_FLAG_OPTCHAN | PARAM_FLAG_GETREST, item, &channel, &nicks); if (!ischannel(*channel)) cmd_param_error(CMDERR_NOT_JOINED); if (*nicks == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS); |