diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-04 07:20:49 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-04 07:20:49 +0000 |
commit | 4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8 (patch) | |
tree | 241b884b627eab19ca23d40c489de343a3bcf91d /src/login/admin.c | |
parent | 210c7db380e555a76f06124056a79631cefaaae2 (diff) | |
download | hercules-4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8.tar.gz hercules-4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8.tar.bz2 hercules-4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8.tar.xz hercules-4ddc672d0ac90e3173d9b7dea6d76c6b369ec2a8.zip |
Removed commented-out TXT-only login-server code that was supposed to prevent reconnection when changing account data (bugreport:1281)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12474 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/admin.c')
-rw-r--r-- | src/login/admin.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/login/admin.c b/src/login/admin.c index 7115e6f05..9bce1a02f 100644 --- a/src/login/admin.c +++ b/src/login/admin.c @@ -267,11 +267,6 @@ int parse_admin(int fd) WBUFB(buf,6) = 0; // 0: change of statut, 1: ban WBUFL(buf,7) = statut; // status or final date of a banishment charif_sendallwos(-1, buf, 11); -/* - for(j = 0; j < AUTH_FIFO_SIZE; j++) - if (auth_fifo[j].account_id == auth_dat[i].account_id) - auth_fifo[j].login_id1++; // to avoid reconnection error when come back from map-server (char-server will ask again the authentication) -*/ } auth_dat[i].state = statut; memcpy(auth_dat[i].error_message, error_message, 20); @@ -362,11 +357,6 @@ int parse_admin(int fd) if (auth_dat[i].sex != ((sex == 'S' || sex == 's') ? 2 : (sex == 'M' || sex == 'm'))) { unsigned char buf[16]; WFIFOL(fd,2) = auth_dat[i].account_id; -/* - for(j = 0; j < AUTH_FIFO_SIZE; j++) - if (auth_fifo[j].account_id == auth_dat[i].account_id) - auth_fifo[j].login_id1++; // to avoid reconnection error when come back from map-server (char-server will ask again the authentication) -*/ auth_dat[i].sex = (sex == 'S' || sex == 's') ? 2 : (sex == 'M' || sex == 'm'); ShowNotice("'ladmin': Modification of a sex (account: %s, new sex: %c, ip: %s)\n", auth_dat[i].userid, sex, ip); mmo_auth_sync(); @@ -636,11 +626,6 @@ int parse_admin(int fd) WBUFB(buf,6) = 1; // 0: change of statut, 1: ban WBUFL(buf,7) = (unsigned int)timestamp; // status or final date of a banishment charif_sendallwos(-1, buf, 11); -/* - for(j = 0; j < AUTH_FIFO_SIZE; j++) - if (auth_fifo[j].account_id == auth_dat[i].account_id) - auth_fifo[j].login_id1++; // to avoid reconnection error when come back from map-server (char-server will ask again the authentication) -*/ } auth_dat[i].unban_time = timestamp; mmo_auth_sync(); @@ -696,13 +681,6 @@ int parse_admin(int fd) WBUFB(buf,6) = 1; // 0: change of statut, 1: ban WBUFL(buf,7) = (unsigned int)timestamp; // status or final date of a banishment charif_sendallwos(-1, buf, 11); -/* - for(j = 0; j < AUTH_FIFO_SIZE; j++) - if (auth_fifo[j].account_id == auth_dat[i].account_id) { - auth_fifo[j].login_id1++; // to avoid reconnection error when come back from map-server (char-server will ask again the authentication) - break; - } -*/ } auth_dat[i].unban_time = timestamp; mmo_auth_sync(); |