Readded special client permissions
Also added a command that requires a password to gain the permissions. I think they were never vulnerable in the first place, gamerfood was just trying to intimidate us.
This commit is contained in:
@@ -198,6 +198,10 @@ namespace Barotrauma.Networking
|
||||
{
|
||||
newClient.SetPermissions(savedPermissions.Permissions);
|
||||
}
|
||||
else
|
||||
{
|
||||
newClient.SetPermissions(ClientPermissions.None);
|
||||
}
|
||||
|
||||
connectedClients.Add(newClient);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user