mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Don't break the API.
Have a ignore_find_full method that is the one that all the new code should be using and provide some working stubs for ignore_find and ignore_find_noact.
This commit is contained in:
parent
609f3ba6c2
commit
dbee606c60
4 changed files with 22 additions and 7 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, NULL, 0);
|
||||
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