From 2ce2214d5e43fb625c2f9cde22f791ee097643e1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 21 Jan 2017 21:27:25 -0500 Subject: Commands can now be locked out of remote sessions Try using sos.shutdown remotely... it won't work. :stuck_out_tongue_winking_eye: --- ShiftOS_TheReturn/Commands.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ShiftOS_TheReturn/Commands.cs') 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 args) { -- cgit v1.2.3