From f77140921434aaf4bfb02e32d90a88368951fb43 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Jan 2001 16:54:25 +0000 Subject: [PATCH] Ignores without nick masks didn't work git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1168 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 e09b591f..94ee4a52 100644 --- a/src/core/ignore.c +++ b/src/core/ignore.c @@ -121,7 +121,7 @@ static int ignore_check_without_mask(GSList *list, CHANNEL_REC *channel, GSList *tmp; int len, best_mask, best_match, best_patt; - best_mask = best_patt = 0; best_match = FALSE; + best_mask = best_patt = -1; best_match = FALSE; for (tmp = list; tmp != NULL; tmp = tmp->next) { IGNORE_REC *rec = tmp->data;