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

new /KICKBAN code crashed

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1497 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-05-14 22:23:51 +00:00 committed by cras
parent 27ceadbff3
commit 32902afcd0

View File

@ -699,11 +699,11 @@ static void cmd_kickban(const char *data, IRC_SERVER_REC *server,
g_free(spacenicks); g_free(spacenicks);
if (settings_get_bool("kick_first_on_kickban")) { if (settings_get_bool("kick_first_on_kickban")) {
signal_emit("command kick", 3, kickcmd, server, channel); signal_emit("command kick", 3, kickcmd, server, chanrec);
signal_emit("command ban", 3, bancmd, server, channel); signal_emit("command ban", 3, bancmd, server, chanrec);
} else { } else {
signal_emit("command ban", 3, bancmd, server, channel); signal_emit("command ban", 3, bancmd, server, chanrec);
signal_emit("command kick", 3, kickcmd, server, channel); signal_emit("command kick", 3, kickcmd, server, chanrec);
} }
g_free(kickcmd); g_free(kickcmd);
g_free(bancmd); g_free(bancmd);