Sfoglia il codice sorgente

'minor' details

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10389 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 18 anni fa
parent
commit
2b251df80a
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      src/common/mmo.h
  2. 1 1
      src/login/login.c
  3. 1 1
      src/login_sql/login.c

+ 1 - 1
src/common/mmo.h

@@ -10,7 +10,7 @@
 
 // server protocol version
 #ifndef PACKETVER
-	#define PACKETVER			7
+	#define PACKETVER			8
 #endif
 
 #define FIFOSIZE_SERVERLINK	256*1024

+ 1 - 1
src/login/login.c

@@ -1147,7 +1147,7 @@ int mmo_auth(struct mmo_account* account, int fd)
 		{
 			if (!matched) {
 				sprintf(ip_dnsbl, "%s.%s", r_ip, dnsbl_serv);
-				if(gethostbyname(ip_dnsbl))
+				if(host2ip(ip_dnsbl))
 					matched = true;
 			}
 		}

+ 1 - 1
src/login_sql/login.c

@@ -534,7 +534,7 @@ int mmo_auth(struct mmo_account* account, int fd)
 		{
 			if (!matched) {
 				sprintf(ip_dnsbl, "%s.%s", r_ip, dnsbl_serv);
-				if(gethostbyname(ip_dnsbl))
+				if(host2ip(ip_dnsbl))
 					matched = true;
 			}
 		}