summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) ? "" :