aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/Program.cs
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2017-03-06 17:01:16 +0000
committerMichael VanOverbeek <[email protected]>2017-03-06 17:01:24 +0000
commit9e30864a106a1a9b5dab0ffd6c333951d3c91dd2 (patch)
tree9896b85dcb4f119d7eea8ace27471b760d6a952a /ShiftOS.Server/Program.cs
parent909873af65113a5808e509741a3f37f849d425ca (diff)
downloadshiftos_thereturn-9e30864a106a1a9b5dab0ffd6c333951d3c91dd2.tar.gz
shiftos_thereturn-9e30864a106a1a9b5dab0ffd6c333951d3c91dd2.tar.bz2
shiftos_thereturn-9e30864a106a1a9b5dab0ffd6c333951d3c91dd2.zip
improvements
Diffstat (limited to 'ShiftOS.Server/Program.cs')
-rw-r--r--ShiftOS.Server/Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index 04d7b2e..3ef9715 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -185,6 +185,10 @@ namespace ShiftOS.Server
Console.WriteLine("Save not found.");
}
}
+ else if(cmd.ToLower().StartsWith("broadcast "))
+ {
+ ChatBackend.Broadcast(cmd.Remove(0, 10));
+ }
else if (cmd == "purge_all_bad_saves")
{
foreach(var f in Directory.GetFiles("saves"))