Lolwhoops.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12553 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Kevin 2008-04-10 21:45:03 +00:00
parent 3c7a81a079
commit c62b5e223f

View File

@ -528,8 +528,10 @@ void chrif_authreq(struct map_session_data *sd)
node->login_id1 == sd->login_id1)
{ //auth ok
if (!pc_authok(sd, node->login_id2, node->expiration_time, node->char_dat))
{
chrif_char_offline(sd); //Set client offline
chrif_auth_delete(node->account_id, node->char_id, ST_LOGIN);
}
else {
//char_dat no longer needed, but player auth is not completed yet.
aFree(node->char_dat);