mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
c741abe23f
commit
16012d63ce
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user