summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 08:48:31 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-09 08:48:31 +0000
commitefd18cd458526cc26dd0394a69de16aadb50e0eb (patch)
tree1adbf61e08c8c9d40db71ba26cbd49f730524ea2 /src
parent804dd86ce4d81750081c85d4c15fa9d20c67fc80 (diff)
downloadhercules-efd18cd458526cc26dd0394a69de16aadb50e0eb.tar.gz
hercules-efd18cd458526cc26dd0394a69de16aadb50e0eb.tar.bz2
hercules-efd18cd458526cc26dd0394a69de16aadb50e0eb.tar.xz
hercules-efd18cd458526cc26dd0394a69de16aadb50e0eb.zip
- Updated the list of dnsbl_servers. (bugreport:6862)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16887 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 6afd61702..9efd28a53 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -999,7 +999,7 @@ int mmo_auth(struct login_session_data* sd, bool isServer)
for( dnsbl_serv = strtok(login_config.dnsbl_servs,","); !matched && dnsbl_serv != NULL; dnsbl_serv = strtok(NULL,",") )
{
- sprintf(ip_dnsbl, "%s.%s", r_ip, dnsbl_serv);
+ sprintf(ip_dnsbl, "%s.%s", r_ip, trim(dnsbl_serv));
if( host2ip(ip_dnsbl) )
matched = true;
}