mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Ignores without nick masks didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1168 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c4753213fe
commit
f771409214
@ -121,7 +121,7 @@ static int ignore_check_without_mask(GSList *list, CHANNEL_REC *channel,
|
|||||||
GSList *tmp;
|
GSList *tmp;
|
||||||
int len, best_mask, best_match, best_patt;
|
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) {
|
for (tmp = list; tmp != NULL; tmp = tmp->next) {
|
||||||
IGNORE_REC *rec = tmp->data;
|
IGNORE_REC *rec = tmp->data;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user