1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

Make sure NO_ACT isn't cleared when -actcolor %n is used

Fixes issue #227.
This commit is contained in:
David Leadbeater 2015-04-07 10:26:28 +01:00
parent ac5aebb91f
commit f5331a3df5

View File

@ -337,14 +337,14 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
old_level = dest->level;
if (!nick_match || (dest->level & MSGLEVEL_HILIGHT)) {
/* update the level / hilight info */
hilight_update_text_dest(dest, hilight);
/* Remove NO_ACT, this means explicitly defined hilights will bypass
* /IGNORE ... NO_ACT.
* (It's still possible to use /hilight -actcolor %n to hide
* hilight/beep).
*/
dest->level &= ~MSGLEVEL_NO_ACT;
/* update the level / hilight info */
hilight_update_text_dest(dest, hilight);
}
if (nick_match)