Ignoring updates. Added support for nickmatch cache. One ignore can't

have both except and normal levels. Nick ignoring checks now with both
old and new nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-28 07:22:22 +00:00 committed by cras
commit 56abbcd2e3
8 changed files with 206 additions and 164 deletions

View file

@ -72,7 +72,10 @@ static void sig_message_kick(SERVER_REC *server, const char *channel,
static void sig_message_nick(SERVER_REC *server, const char *newnick,
const char *oldnick, const char *address)
{
if (ignore_check(server, oldnick, address, NULL, NULL, MSGLEVEL_NICKS))
if (ignore_check(server, oldnick, address,
NULL, NULL, MSGLEVEL_NICKS) ||
ignore_check(server, newnick, address,
NULL, NULL, MSGLEVEL_NICKS))
signal_stop();
}