Forráskód Böngészése

Removed the silly and misleading 'firewall detected' message

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9786 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 éve
szülő
commit
5f0de40e38
4 módosított fájl, 2 hozzáadás és 7 törlés
  1. 2 0
      Changelog-Trunk.txt
  2. 0 3
      src/char/char.c
  3. 0 2
      src/char_sql/char.c
  4. 0 2
      src/map/map.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2007/02/05
+	* Removed the silly and misleading 'firewall detected' message
 2007/02/03
 	* Added missing vc6 project file
 	* Corrected a lie in the script documentation [ultramage]

+ 0 - 3
src/char/char.c

@@ -4403,9 +4403,6 @@ int do_init(int argc, char **argv) {
 			strcpy(char_ip_str, buf);
 			char_ip = inet_addr(char_ip_str);
 		}
-
-		if (ptr[0] == 192 && ptr[1] == 168)
-			ShowWarning("Firewall detected.. edit subnet_athena.conf and char_athena.conf\n");
 	}
 
 	for(i = 0; i < MAX_MAP_SERVERS; i++) {

+ 0 - 2
src/char_sql/char.c

@@ -4295,8 +4295,6 @@ int do_init(int argc, char **argv){
           	strcpy(char_ip_str, buf);
 				char_ip = inet_addr(char_ip_str);
 			 }
-          if (ptr[0] == 192 && ptr[1] == 168)
-		ShowWarning("Firewall detected.. edit subnet_athena.conf and char_athena.conf\n");
         }
 
 	ShowInfo("open port %d.....\n",char_port);

+ 0 - 2
src/map/map.c

@@ -3906,8 +3906,6 @@ int do_init(int argc, char *argv[]) {
 			clif_setip(buf);
 		if (!char_ip_set)
 			chrif_setip(buf);
-		if (ptr[0] == 192 && ptr[1] == 168)
-			ShowNotice("\nFirewall detected.. \n    edit subnet_athena.conf and map_athena.conf\n\n");
 	}
 
 	if (SHOW_DEBUG_MSG)