- Timestamp:
- Sep 4, 2018, 2:33:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/WebPermissionsCmd.cs
r325 r326 23 23 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) { 24 24 if (_params.Count >= 1) { 25 switch (_params [0].ToLower ()) { 26 case "add": 27 ExecuteAdd (_params); 28 break; 29 case "remove": 30 ExecuteRemove (_params); 31 break; 32 case "list": 33 ExecuteList (); 34 break; 35 default: 36 SdtdConsole.Instance.Output ("Invalid sub command \"" + _params [0] + "\"."); 37 return; 25 if (_params [0].EqualsCaseInsensitive ("add")) { 26 ExecuteAdd (_params); 27 } else if (_params [0].EqualsCaseInsensitive ("remove")) { 28 ExecuteRemove (_params); 29 } else if (_params [0].EqualsCaseInsensitive ("list")) { 30 ExecuteList (); 31 } else { 32 SdtdConsole.Instance.Output ("Invalid sub command \"" + _params [0] + "\"."); 38 33 } 39 34 } else {
Note:
See TracChangeset
for help on using the changeset viewer.