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:
parent
27ceadbff3
commit
32902afcd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user