summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-10 19:07:00 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-10 19:07:00 +0000
commitca96d6732c71834c6424dfeb4b6696c381f6c662 (patch)
tree41f5bd448a296c46905d0049ea9415c91c670973 /src/login
parent35f3b96c8d060651befb7241f5de158a16283a8d (diff)
downloadhercules-ca96d6732c71834c6424dfeb4b6696c381f6c662.tar.gz
hercules-ca96d6732c71834c6424dfeb4b6696c381f6c662.tar.bz2
hercules-ca96d6732c71834c6424dfeb4b6696c381f6c662.tar.xz
hercules-ca96d6732c71834c6424dfeb4b6696c381f6c662.zip
Modified the charservers to use a DBMap instead of a cyclic array for auth data.
Merged the auth fix from r12473 to TXT as well. Removed the no-op from r12547. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12551 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 7e0e68b3f..9bb77e093 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1152,15 +1152,6 @@ int parse_fromchar(int fd)
//ShowStatus("Char-server '%s': authentication of the account %d accepted (ip: %s).\n", server[id].name, account_id, ip);
- struct online_login_data* od = (struct online_login_data*)idb_get(online_db, account_id);
-
- //Leave info in online data DB [Kevin]
- if(od->waiting_disconnect != -1)
- {
- delete_timer(od->waiting_disconnect, waiting_disconnect_timer);
- od->waiting_disconnect = -1;
- }
-
// each auth entry can only be used once
idb_remove(auth_db, account_id);