From 7a1be872fda99c67b4c160bba4316780434e17b8 Mon Sep 17 00:00:00 2001 From: Gepard Date: Fri, 23 Oct 2009 15:52:39 +0000 Subject: Fixed login-server using already removed `auth_node`. (bugreport:3254) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14094 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/login/login.c b/src/login/login.c index e1299f586..d31408fac 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -416,9 +416,6 @@ int parse_fromchar(int fd) {// found //ShowStatus("Char-server '%s': authentication of the account %d accepted (ip: %s).\n", server[id].name, account_id, ip); - // each auth entry can only be used once - idb_remove(auth_db, account_id); - // send ack WFIFOHEAD(fd,25); WFIFOW(fd,0) = 0x2713; @@ -431,6 +428,9 @@ int parse_fromchar(int fd) WFIFOL(fd,20) = node->version; WFIFOB(fd,24) = node->clienttype; WFIFOSET(fd,25); + + // each auth entry can only be used once + idb_remove(auth_db, account_id); } else {// authentication not found -- cgit v1.2.3-60-g2f50