mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
2f97b822fb
commit
cf7d6915f5
@ -109,7 +109,7 @@ static void sig_hilight_window_item(WI_ITEM_REC *item)
|
|||||||
}
|
}
|
||||||
|
|
||||||
oldlevel = window->new_data;
|
oldlevel = window->new_data;
|
||||||
if (level == MSGLEVEL_HILIGHT)
|
if (level == NEWDATA_HILIGHT)
|
||||||
window->last_color = color;
|
window->last_color = color;
|
||||||
if (window->new_data < level || level == 0) {
|
if (window->new_data < level || level == 0) {
|
||||||
window->new_data = level;
|
window->new_data = level;
|
||||||
|
@ -65,7 +65,7 @@ static void print_channel_msg(IRC_SERVER_REC *server, const char *msg,
|
|||||||
|
|
||||||
chanrec = channel_find(server, target);
|
chanrec = channel_find(server, target);
|
||||||
for_me = irc_nick_match(server->nick, msg);
|
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);
|
nickrec = chanrec == NULL ? NULL : nicklist_find(chanrec, nick);
|
||||||
nickmode = (!settings_get_bool("show_nickmode") || nickrec == NULL) ? "" :
|
nickmode = (!settings_get_bool("show_nickmode") || nickrec == NULL) ? "" :
|
||||||
|
Loading…
Reference in New Issue
Block a user