diff options
author | David Leadbeater <dgl@dgl.cx> | 2015-04-07 10:26:28 +0100 |
---|---|---|
committer | David Leadbeater <dgl@dgl.cx> | 2015-04-07 10:26:28 +0100 |
commit | f5331a3df5f06e8ebe389aee7c91a355d5918d7c (patch) | |
tree | aa1198bb55137b3a867516f351e20288afb864ff /src/fe-common | |
parent | ac5aebb91f2743326015d0f790a383767cbf7115 (diff) | |
download | irssi-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.c | 4 |
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) |