1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

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
This commit is contained in:
Timo Sirainen 2000-07-02 12:07:49 +00:00 committed by cras
parent 2f97b822fb
commit cf7d6915f5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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) ? "" :