1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/SET hilight_nick_matches - NO disables hilighting your own nick at

beginning of line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2760 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-05-08 10:59:47 +00:00 committed by cras
parent 24c4a2e86d
commit 7e9f47e8f9

View File

@ -152,7 +152,8 @@ static void sig_message_public(SERVER_REC *server, const char *msg,
if (nickrec == NULL && chanrec != NULL)
nickrec = nicklist_find(chanrec, nick);
for_me = nick_match_msg(chanrec, msg, server->nick);
for_me = !settings_get_bool("hilight_nick_matches") ? FALSE :
nick_match_msg(chanrec, msg, server->nick);
color = for_me ? NULL :
hilight_match_nick(server, target, nick, address, MSGLEVEL_PUBLIC, msg);
@ -624,6 +625,7 @@ void fe_messages_init(void)
printnicks = g_hash_table_new((GHashFunc) g_direct_hash,
(GCompareFunc) g_direct_equal);
settings_add_bool("lookandfeel", "hilight_nick_matches", TRUE);
settings_add_bool("lookandfeel", "emphasis", TRUE);
settings_add_bool("lookandfeel", "emphasis_replace", FALSE);
settings_add_bool("lookandfeel", "emphasis_multiword", FALSE);