1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00

/HILIGHT -channels didn't work right.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@328 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-12 23:18:24 +00:00 committed by cras
parent 18f3c74d68
commit 661ad04688

View File

@ -159,7 +159,7 @@ static void sig_print_text_stripped(WINDOW_REC *window, SERVER_REC *server, cons
continue;
if ((level & (rec->level > 0 ? rec->level : DEFAULT_HILIGHT_CHECK_LEVEL)) == 0)
continue;
if (rec->channels != NULL && !strarray_find(rec->channels, channel))
if (rec->channels != NULL && strarray_find(rec->channels, channel) == -1)
continue;
if (rec->regexp) {
if (!regexp_match(str, rec->text))