mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
Fixed double login bug, added gm permissions, added checks to gm commands, update your postgresql db
This commit is contained in:
@@ -94,6 +94,7 @@ public class ConnectionService implements INetworkDispatch {
|
||||
if (resultSet.next()) {
|
||||
client.setAccountId(resultSet.getLong("accountId"));
|
||||
client.setSessionKey(clientIdMsg.getSessionKey());
|
||||
client.setGM(core.loginService.checkForGmPermission((int) resultSet.getLong("accountId")));
|
||||
AccountFeatureBits accountFeatureBits = new AccountFeatureBits();
|
||||
ClientPermissionsMessage clientPermissionsMessage = new ClientPermissionsMessage();
|
||||
session.write(new HeartBeatMessage().serialize());
|
||||
|
||||
Reference in New Issue
Block a user