summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-02 12:07:49 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-02 12:07:49 +0000
commitcf7d6915f5cfff985cee06643644e1f176a0d28d (patch)
treef87a19bb7b8e3eb2322418fec4c9e26a2434e47c /src
parent2f97b822fb43a0ef652429986ad14c6ed2988538 (diff)
downloadirssi-cf7d6915f5cfff985cee06643644e1f176a0d28d.zip
Don't check highlighting if the message was meant for you (your nick at
the start of the line). Also, highlighted texts didn't really set the window's color right in activity list.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@413 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/window-activity.c2
-rw-r--r--src/fe-common/irc/fe-events.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/window-activity.c b/src/fe-common/core/window-activity.c
index 1f18b12f..7a769aa6 100644
--- a/src/fe-common/core/window-activity.c
+++ b/src/fe-common/core/window-activity.c
@@ -109,7 +109,7 @@ static void sig_hilight_window_item(WI_ITEM_REC *item)
}
oldlevel = window->new_data;
- if (level == MSGLEVEL_HILIGHT)
+ if (level == NEWDATA_HILIGHT)
window->last_color = color;
if (window->new_data < level || level == 0) {
window->new_data = level;
diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c
index d37ef8b5..ee52c917 100644
--- a/src/fe-common/irc/fe-events.c
+++ b/src/fe-common/irc/fe-events.c
@@ -65,7 +65,7 @@ static void print_channel_msg(IRC_SERVER_REC *server, const char *msg,
chanrec = channel_find(server, target);
for_me = irc_nick_match(server->nick, msg);
- color = irc_hilight_find_nick(target, nick, addr, MSGLEVEL_PUBLIC, msg);
+ color = for_me ? NULL : irc_hilight_find_nick(target, nick, addr, MSGLEVEL_PUBLIC, msg);
nickrec = chanrec == NULL ? NULL : nicklist_find(chanrec, nick);
nickmode = (!settings_get_bool("show_nickmode") || nickrec == NULL) ? "" :