From 4aa7a6dee500dee2cb0a777a60160bbf3927be9f Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 10 Apr 2017 15:09:52 -0400 Subject: KILL ChatBackend.cs --- ShiftOS.Server/Program.cs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ShiftOS.Server/Program.cs') 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")) -- cgit v1.2.3