From 1747e36b1aa4884945eaafbc76d96dece1accb48 Mon Sep 17 00:00:00 2001 From: ??? Date: Wed, 13 Jun 2012 10:50:34 +0900 Subject: [PATCH 11/12] 71_fix_nick_not_to_highlight from ubuntu --- src/common/inbound.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/common/inbound.c b/src/common/inbound.c index 719bbe6..fa75b55 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -186,6 +186,9 @@ inbound_privmsg (server *serv, char *from, char *ip, char *text, int id) inbound_make_idtext (serv, idtext, sizeof (idtext), id); + if (alert_match_word (from, prefs.irc_no_hilight)) + return; + sess = find_session_from_nick (from, serv); if (!sess) { @@ -436,6 +439,9 @@ inbound_chanmsg (server *serv, session *sess, char *chan, char *from, char *text inbound_make_idtext (serv, idtext, sizeof (idtext), id); + if (alert_match_word (from, prefs.irc_no_hilight)) + return; + if (is_hilight (from, text, sess, serv)) hilight = TRUE; -- 1.7.7.5 (Apple Git-26)