소스 검색

* Port [3464] to 1.2.14
* Recognize broader floodless notice


svn: 3465

Bryan Drewery 19 년 전
부모
커밋
8d63b89866
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/mod/server.mod/servmsg.c

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

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