mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Make sure NO_ACT isn't cleared when -actcolor %n is used
Fixes issue #227.
This commit is contained in:
parent
ac5aebb91f
commit
f5331a3df5
@ -337,14 +337,14 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||||||
|
|
||||||
old_level = dest->level;
|
old_level = dest->level;
|
||||||
if (!nick_match || (dest->level & MSGLEVEL_HILIGHT)) {
|
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
|
/* Remove NO_ACT, this means explicitly defined hilights will bypass
|
||||||
* /IGNORE ... NO_ACT.
|
* /IGNORE ... NO_ACT.
|
||||||
* (It's still possible to use /hilight -actcolor %n to hide
|
* (It's still possible to use /hilight -actcolor %n to hide
|
||||||
* hilight/beep).
|
* hilight/beep).
|
||||||
*/
|
*/
|
||||||
dest->level &= ~MSGLEVEL_NO_ACT;
|
dest->level &= ~MSGLEVEL_NO_ACT;
|
||||||
|
/* update the level / hilight info */
|
||||||
|
hilight_update_text_dest(dest, hilight);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nick_match)
|
if (nick_match)
|
||||||
|
Loading…
Reference in New Issue
Block a user