From: Akari Date: Tue, 8 Feb 2011 06:09:50 +0000 (+0200) Subject: fixed irc_hilights X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2cb24a458d8d7f0b1f85fb6839e4975c3b35b9c;p=xonotic%2Fdarkplaces.git fixed irc_hilights --- diff --git a/irc.c b/irc.c index 540a0d5a..c3bee54a 100755 --- a/irc.c +++ b/irc.c @@ -670,6 +670,9 @@ qboolean Irc_CheckHilight(const char *msg) if(strcasestr(msg, irc_current_nick.string)) return TRUE; //Contains our nick + if(NOTSET(irc_hilights)) + return FALSE; + len = strlen(irc_hilights.string); start = 0;