mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
18f3c74d68
commit
661ad04688
@ -159,7 +159,7 @@ static void sig_print_text_stripped(WINDOW_REC *window, SERVER_REC *server, cons
|
|||||||
continue;
|
continue;
|
||||||
if ((level & (rec->level > 0 ? rec->level : DEFAULT_HILIGHT_CHECK_LEVEL)) == 0)
|
if ((level & (rec->level > 0 ? rec->level : DEFAULT_HILIGHT_CHECK_LEVEL)) == 0)
|
||||||
continue;
|
continue;
|
||||||
if (rec->channels != NULL && !strarray_find(rec->channels, channel))
|
if (rec->channels != NULL && strarray_find(rec->channels, channel) == -1)
|
||||||
continue;
|
continue;
|
||||||
if (rec->regexp) {
|
if (rec->regexp) {
|
||||||
if (!regexp_match(str, rec->text))
|
if (!regexp_match(str, rec->text))
|
||||||
|
Loading…
Reference in New Issue
Block a user