mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
Merge pull request #390 from LemonBoy/ignore-find
Clean up the ignore_find API to make it more powerful.
This commit is contained in:
commit
d16f57b378
4 changed files with 41 additions and 17 deletions
|
|
@ -66,7 +66,7 @@ static void sig_flood(IRC_SERVER_REC *server, const char *nick, const char *host
|
|||
|
||||
mask = g_strdup_printf("%s!%s", nick, host);
|
||||
if (level & check_level) {
|
||||
rec = ignore_find(server->tag, mask, NULL);
|
||||
rec = ignore_find_full(server->tag, mask, NULL, NULL, 0);
|
||||
if (rec == NULL)
|
||||
autoignore_add(server, mask, level);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue