summaryrefslogtreecommitdiff
path: root/src/irc/flood
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/flood')
-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 250a1fe8..4708cb03 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);
+ rec = ignore_find(server->tag, mask, NULL, NULL, 0);
if (rec == NULL)
autoignore_add(server, mask, level);
else