diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 8 | ||||
-rw-r--r-- | src/char_sql/char.c | 8 | ||||
-rw-r--r-- | src/login/login.c | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/char/char.c b/src/char/char.c index d7eb63a77..ecf8c8b4b 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -3099,8 +3099,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; @@ -3281,8 +3281,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); 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); 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); |