summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-09-20 22:09:59 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-09-20 22:09:59 +0000
commit37a4268a102ac66bbc8d283b3ae57d952bf26425 (patch)
tree13e31c6f791e396709c76ea3ba29dc6db93c51f3 /src/login/login.c
parentcb881ba629126c535ae38ccc72939ccc41869f70 (diff)
downloadhercules-37a4268a102ac66bbc8d283b3ae57d952bf26425.tar.gz
hercules-37a4268a102ac66bbc8d283b3ae57d952bf26425.tar.bz2
hercules-37a4268a102ac66bbc8d283b3ae57d952bf26425.tar.xz
hercules-37a4268a102ac66bbc8d283b3ae57d952bf26425.zip
Disabled ip checking during auth, since it lead to a lot of confusion.
This essentially reverts the default behavior to before r10021. Re-enabling should only be reconsidered after the subnet mechanism is made fully automatic. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14069 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 964349b0f..e1299f586 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -411,8 +411,8 @@ int parse_fromchar(int fd)
node->account_id == account_id &&
node->login_id1 == login_id1 &&
node->login_id2 == login_id2 &&
- node->sex == sex_num2str(sex) &&
- node->ip == ip_ )
+ node->sex == sex_num2str(sex) /*&&
+ node->ip == ip_*/ )
{// found
//ShowStatus("Char-server '%s': authentication of the account %d accepted (ip: %s).\n", server[id].name, account_id, ip);