1
0
Эх сурвалжийг харах

* Ported [2708] to 1.2.9 (user limit/floodless fix)

svn: 2709
Bryan Drewery 20 жил өмнө
parent
commit
2159efeb82

+ 1 - 0
doc/UPDATES

@@ -57,6 +57,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed bots not enforcing bans when exempts were removed. (fixes #193)
 * Updated CREDITS/cmd_about
 * Fixed some startup segfaults resulting from bugs in glibc.
+* Fixed bot going floodless when it wasn't granted it.
 
 1.2.8
 * Fixed [bot]* cmds depending on case of botnicks.

+ 1 - 2
src/mod/server.mod/servmsg.c

@@ -684,8 +684,7 @@ static int gotnotice(char *from, char *msg)
       /* Server notice? */
       if ((nick[0] == 0) || (uhost[0] == 0)) {
         if (!server_online && 
-           (!strcmp(msg, "*** You are exempt from flood limits.") || 
-            !strcmp(msg, "*** You are exempt from user limits. congrats.")))
+            !strcmp(msg, "*** You are exempt from user limits. congrats."))
           floodless = 1;
 	/* Hidden `250' connection count message from server */
 	if (strncmp(msg, "Highest connection count:", 25))