diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-06 21:49:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-06 21:49:57 +0000 |
commit | 16012d63ce30e0f9e89d70b57726bfb932543d7b (patch) | |
tree | b1be62451c670bf12e8987f756e38ef11a1b15bf /src/core | |
parent | c741abe23f470fb973ce1b3672a0a9c8c0adc271 (diff) | |
download | irssi-16012d63ce30e0f9e89d70b57726bfb932543d7b.zip |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |