summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-16 17:20:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-16 17:20:23 +0000
commit7e630b22cf495cb219abcbcb3a14a1526f4798b0 (patch)
tree4c162c15f7858dc19e0e69216737cbc4750a711c
parent40c7fa1190c8c861188f6ecda692da280e4fdc25 (diff)
downloadirssi-7e630b22cf495cb219abcbcb3a14a1526f4798b0.zip
added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/core/hilight-text.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 0be646df..4ce14df7 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -291,7 +291,10 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
&hilight_start,
&hilight_end);
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 */
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 */
return;
}
-
+
color = hilight_get_color(hilight);
hilight_len = hilight_end-hilight_start;