git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10389 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -10,7 +10,7 @@
// server protocol version
#ifndef PACKETVER
- #define PACKETVER 7
+ #define PACKETVER 8
#endif
#define FIFOSIZE_SERVERLINK 256*1024
@@ -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;
}
@@ -534,7 +534,7 @@ int mmo_auth(struct mmo_account* account, int fd)