summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c
index cd5b99dea..cc30221e8 100644
--- a/src/login/login.c
+++ b/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;
}
}