Ver código fonte

Lolwhoops.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12553 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 anos atrás
pai
commit
c62b5e223f
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/map/chrif.c

+ 2 - 0
src/map/chrif.c

@@ -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);