mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
40c7fa1190
commit
7e630b22cf
@ -291,7 +291,10 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||||||
&hilight_start,
|
&hilight_start,
|
||||||
&hilight_end);
|
&hilight_end);
|
||||||
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;
|
||||||
@ -301,7 +304,7 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||||||
/* nick is highlighted, just set priority */
|
/* nick is highlighted, just set priority */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
color = hilight_get_color(hilight);
|
color = hilight_get_color(hilight);
|
||||||
hilight_len = hilight_end-hilight_start;
|
hilight_len = hilight_end-hilight_start;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user