summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-28 16:54:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-28 16:54:25 +0000
commitf77140921434aaf4bfb02e32d90a88368951fb43 (patch)
tree0c78240bbb61fb76a4ce337c6ee12111739adeb9 /src
parentc4753213feb5285ff2c494ebf62f82cde0b0f06e (diff)
downloadirssi-f77140921434aaf4bfb02e32d90a88368951fb43.zip
Ignores without nick masks didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1168 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/ignore.c2
1 files changed, 1 insertions, 1 deletions
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;