From 37a4268a102ac66bbc8d283b3ae57d952bf26425 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 20 Sep 2009 22:09:59 +0000 Subject: 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 --- src/char_sql/char.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/char_sql/char.c') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 9d699cbb5..d57168903 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2763,8 +2763,8 @@ int parse_frommap(int fd) node->account_id == account_id && node->char_id == char_id && node->login_id1 == login_id1 && - node->sex == sex && - node->ip == ip ) + node->sex == sex /*&& + node->ip == ip*/ ) {// auth ok cd->sex = sex; @@ -2943,8 +2943,8 @@ int parse_char(int fd) if( node != NULL && node->account_id == account_id && node->login_id1 == login_id1 && - node->login_id2 == login_id2 && - node->ip == ipl ) + node->login_id2 == login_id2 /*&& + node->ip == ipl*/ ) {// authentication found (coming from map server) idb_remove(auth_db, account_id); char_auth_ok(fd, sd); -- cgit v1.2.3-60-g2f50