diff options
| author | Michael <[email protected]> | 2017-01-21 21:27:25 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-01-21 21:27:25 -0500 |
| commit | 2ce2214d5e43fb625c2f9cde22f791ee097643e1 (patch) | |
| tree | c7b8908f604af0cb9bbf5a63cf41bebeb2fe8881 /ShiftOS_TheReturn/Commands.cs | |
| parent | 19b7f5b98330335f51efd52b0f744e6174e987fe (diff) | |
| download | shiftos_thereturn-2ce2214d5e43fb625c2f9cde22f791ee097643e1.tar.gz shiftos_thereturn-2ce2214d5e43fb625c2f9cde22f791ee097643e1.tar.bz2 shiftos_thereturn-2ce2214d5e43fb625c2f9cde22f791ee097643e1.zip | |
Commands can now be locked out of remote sessions
Try using sos.shutdown remotely... it won't work.
:stuck_out_tongue_winking_eye:
Diffstat (limited to 'ShiftOS_TheReturn/Commands.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Commands.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs index 70486bb..9aae1f6 100644 --- a/ShiftOS_TheReturn/Commands.cs +++ b/ShiftOS_TheReturn/Commands.cs @@ -308,6 +308,7 @@ namespace ShiftOS.Engine [Namespace("sos")] public static class ShiftOSCommands { + [RemoteLock] [Command("shutdown")] public static bool Shutdown() { @@ -540,7 +541,7 @@ shiftorium.buy{{upgrade:""{upg.ID}""}}"); - + [RemoteLock] [Command("list")] public static bool List() { @@ -553,6 +554,7 @@ shiftorium.buy{{upgrade:""{upg.ID}""}}"); return true; } + [RemoteLock] [Command("open")] public static bool Open(Dictionary<string, object> args) { |
