diff options
author | Timo Sirainen <cras@irssi.org> | 2001-05-14 22:23:51 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-05-14 22:23:51 +0000 |
commit | 32902afcd0075fd796c23a0be2cb72b47bd8632d (patch) | |
tree | a9fee7b20361b25ca5f9707401bfb68e9378cd49 /src | |
parent | 27ceadbff36088a47d48e7417b69f26dbc44d3f9 (diff) | |
download | irssi-32902afcd0075fd796c23a0be2cb72b47bd8632d.zip |
new /KICKBAN code crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1497 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/irc-commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index 6871b06e..cac63016 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -699,11 +699,11 @@ static void cmd_kickban(const char *data, IRC_SERVER_REC *server, g_free(spacenicks); if (settings_get_bool("kick_first_on_kickban")) { - signal_emit("command kick", 3, kickcmd, server, channel); - signal_emit("command ban", 3, bancmd, server, channel); + signal_emit("command kick", 3, kickcmd, server, chanrec); + signal_emit("command ban", 3, bancmd, server, chanrec); } else { - signal_emit("command ban", 3, bancmd, server, channel); - signal_emit("command kick", 3, kickcmd, server, channel); + signal_emit("command ban", 3, bancmd, server, chanrec); + signal_emit("command kick", 3, kickcmd, server, chanrec); } g_free(kickcmd); g_free(bancmd); |