summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2015-04-07 10:26:28 +0100
committerDavid Leadbeater <dgl@dgl.cx>2015-04-07 10:26:28 +0100
commitf5331a3df5f06e8ebe389aee7c91a355d5918d7c (patch)
treeaa1198bb55137b3a867516f351e20288afb864ff /src/fe-common
parentac5aebb91f2743326015d0f790a383767cbf7115 (diff)
downloadirssi-f5331a3df5f06e8ebe389aee7c91a355d5918d7c.zip
Make sure NO_ACT isn't cleared when -actcolor %n is used
Fixes issue #227.
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/hilight-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 4b914517..ff3a7085 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -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)