mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Merge pull request #233 from dgl/hilight-fix
Make sure NO_ACT isn't cleared when -actcolor %n is used
This commit is contained in:
commit
9ffe52ec5e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user