From 16012d63ce30e0f9e89d70b57726bfb932543d7b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 6 Feb 2001 21:49:57 +0000 Subject: [PATCH] check_ignore() didn't check correctly if everything in specified level was ignored git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1186 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/ignore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ignore.c b/src/core/ignore.c index 94ee4a52..0cee82cd 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -174,7 +174,7 @@ int ignore_check(SERVER_REC *server, const char *nick, const char *host, nickmask = g_strconcat(nick, "!", host, NULL); - best_mask = best_patt = 0; best_match = FALSE; + best_mask = best_patt = -1; best_match = FALSE; for (tmp = ignores; tmp != NULL; tmp = tmp->next) { rec = tmp->data;