mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Never ignore kick msg if you get kicked from channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2558 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6d6b02d10e
commit
b89fb4a549
@ -22,6 +22,7 @@
|
||||
#include "signals.h"
|
||||
#include "levels.h"
|
||||
#include "ignore.h"
|
||||
#include "servers.h"
|
||||
|
||||
static void sig_message_public(SERVER_REC *server, const char *msg,
|
||||
const char *nick, const char *address,
|
||||
@ -64,7 +65,9 @@ static void sig_message_kick(SERVER_REC *server, const char *channel,
|
||||
const char *nick, const char *kicker,
|
||||
const char *address, const char *reason)
|
||||
{
|
||||
if (ignore_check(server, kicker, address,
|
||||
/* never ignore if you were kicked */
|
||||
if (g_strcasecmp(nick, server->nick) != 0 &&
|
||||
ignore_check(server, kicker, address,
|
||||
channel, reason, MSGLEVEL_KICKS))
|
||||
signal_stop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user