diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-28 16:25:04 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-28 16:25:04 +0000 |
commit | a06046040d922ed9df27f3bfb164a979e449fe34 (patch) | |
tree | 57166527331aa84f9e13a36ce2e6ed914906af5f /src/login_sql/login.c | |
parent | 3581f0868eec9bfc6728b0e32a47f8558a0a9e10 (diff) | |
download | hercules-a06046040d922ed9df27f3bfb164a979e449fe34.tar.gz hercules-a06046040d922ed9df27f3bfb164a979e449fe34.tar.bz2 hercules-a06046040d922ed9df27f3bfb164a979e449fe34.tar.xz hercules-a06046040d922ed9df27f3bfb164a979e449fe34.zip |
'minor' details
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10389 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r-- | src/login_sql/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index e56d67056..d2cbb60ee 100644 --- a/src/login_sql/login.c +++ b/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; } } |