mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/HILIGHT -actcolor didn't work with -nick (which was default)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2100 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e98a83b538
commit
dc11f23afd
@ -294,13 +294,13 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||||||
if (hilight == NULL)
|
if (hilight == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (hilight->nick && (dest->level & (MSGLEVEL_PUBLIC|MSGLEVEL_ACTIONS)) == MSGLEVEL_PUBLIC)
|
|
||||||
return; /* fe-messages.c should have taken care of this */
|
|
||||||
|
|
||||||
/* update the level / hilight info */
|
/* update the level / hilight info */
|
||||||
old_level = dest->level;
|
old_level = dest->level;
|
||||||
hilight_update_text_dest(dest, hilight);
|
hilight_update_text_dest(dest, hilight);
|
||||||
|
|
||||||
|
if (hilight->nick && (dest->level & (MSGLEVEL_PUBLIC|MSGLEVEL_ACTIONS)) == MSGLEVEL_PUBLIC)
|
||||||
|
return; /* fe-messages.c should have taken care of this */
|
||||||
|
|
||||||
if (old_level & MSGLEVEL_HILIGHT) {
|
if (old_level & MSGLEVEL_HILIGHT) {
|
||||||
/* nick is highlighted, just set priority */
|
/* nick is highlighted, just set priority */
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user