- Timestamp:
- Aug 23, 2020, 9:52:01 AM (4 years ago)
- Location:
- binary-improvements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements
- Property svn:ignore
-
old new 1 1 bin 2 .idea
-
- Property svn:ignore
-
binary-improvements/MapRendering/Web/API/ExecuteConsoleCommand.cs
r351 r360 31 31 } 32 32 33 AdminToolsCommandPermissions atcp = 34 GameManager.Instance.adminTools.GetAdminToolsCommandPermission (command.GetCommands ()); 33 int commandPermissionLevel = GameManager.Instance.adminTools.GetCommandPermissionLevel (command.GetCommands ()); 35 34 36 if (_permissionLevel > atcp.PermissionLevel) {35 if (_permissionLevel > commandPermissionLevel) { 37 36 _resp.StatusCode = (int) HttpStatusCode.Forbidden; 38 37 Web.SetResponseTextContent (_resp, "You are not allowed to execute this command");
Note:
See TracChangeset
for help on using the changeset viewer.