aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server/Program.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-10 15:09:52 -0400
committerMichael <[email protected]>2017-04-10 15:09:52 -0400
commit4aa7a6dee500dee2cb0a777a60160bbf3927be9f (patch)
tree58dadd77ca8ef280812c2730ed97681d532c5da2 /ShiftOS.Server/Program.cs
parenta9a9beaf63e5a8dc63e8ec8388373e3868d11cfb (diff)
downloadshiftos_thereturn-4aa7a6dee500dee2cb0a777a60160bbf3927be9f.tar.gz
shiftos_thereturn-4aa7a6dee500dee2cb0a777a60160bbf3927be9f.tar.bz2
shiftos_thereturn-4aa7a6dee500dee2cb0a777a60160bbf3927be9f.zip
KILL ChatBackend.cs
Diffstat (limited to 'ShiftOS.Server/Program.cs')
-rw-r--r--ShiftOS.Server/Program.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index 3f64054..afc2541 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -143,10 +143,6 @@ namespace ShiftOS.Server
AppDomain.CurrentDomain.UnhandledException += (o, a) =>
{
- ChatBackend.Broadcast("**Automatic Broadcast:** The multi-user domain is restarting because of a crash.");
-#if DEBUG
- ChatBackend.Broadcast("Crash summary: " + a.ExceptionObject.ToString());
-#endif
if(server.IsOnline == true)
server.Stop();
System.Diagnostics.Process.Start("ShiftOS.Server.exe");
@@ -218,10 +214,6 @@ 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"))