summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-01-03 21:19:46 +0100
committerLemonBoy <thatlemon@gmail.com>2016-01-03 21:26:57 +0100
commitdbee606c60c4d8d7c6e5cabd1241fc182ae6c4a3 (patch)
tree1c7339c5a1d2ea1a1e1cbb865ae37935fe31753e /src/irc
parent609f3ba6c2db4f04e1e11304459d4fc42babd8ff (diff)
downloadirssi-dbee606c60c4d8d7c6e5cabd1241fc182ae6c4a3.zip
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.
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/flood/autoignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/flood/autoignore.c b/src/irc/flood/autoignore.c
index 4708cb03..86ff3ec5 100644
--- a/src/irc/flood/autoignore.c
+++ b/src/irc/flood/autoignore.c
@@ -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