mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
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:
parent
6c32ffdc4f
commit
56abbcd2e3
8 changed files with 206 additions and 164 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue