]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fixed irc_hilights
authorAkari <hetors.email@gmail.com>
Tue, 8 Feb 2011 06:09:50 +0000 (08:09 +0200)
committerAkari <hetors.email@gmail.com>
Tue, 8 Feb 2011 06:09:50 +0000 (08:09 +0200)
irc.c

diff --git a/irc.c b/irc.c
index 540a0d5a620f7ef25f043aa90c16d005b0ad11c5..c3bee54afba5a4d3601e896a613f879276b2b6d8 100755 (executable)
--- 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;