diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/response/auth/AuthServerResponse.java b/LaunchServer/src/main/java/ru/gravit/launchserver/response/auth/AuthServerResponse.java index 0b4cd557..43f344a3 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/response/auth/AuthServerResponse.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/response/auth/AuthServerResponse.java @@ -73,6 +73,7 @@ public void reply() throws Exception { if (clientData.profile == null) { throw new AuthException("Your profile is not found"); } + clientData.permissions = server.config.permissionsHandler.getPermissions(login); if(!clientData.permissions.canServer) { throw new AuthException("Your account cannot be a server");