Changeset 991

User picture

Author: ATracer

(2010/02/07 23:07) About 2 years ago

Fix for double login using the same account id. The first client connection will be closed after attempt to login from the second client.

Affected files

Updated trunk/AE-go_GameServer/src/com/aionemu/gameserver/network/loginserver/LoginServer.java Download diff

990991
299
	{
299
	{
300
		synchronized(this)
300
		synchronized(this)
301
		{
301
		{
302
			AionConnection client = loginRequests.get(accountId);
302
			AionConnection client = loggedInAccounts.get(accountId);
303
			if(client != null)
303
			if(client != null)
304
				client.close(/* closePacket, */false);
304
				client.close(/* closePacket, */false);
305
			/**
305
			/**