From 7dcde1c752109f47f098274a228ba3bf228430c4 Mon Sep 17 00:00:00 2001 From: Michael VanOverbeek Date: Tue, 13 Jun 2017 20:21:00 +0000 Subject: [PATCH] THERE'S NO ANTIDOTE --- ShiftOS.Server/SaveManager.cs | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/ShiftOS.Server/SaveManager.cs b/ShiftOS.Server/SaveManager.cs index cb2e1ba..baf5b64 100644 --- a/ShiftOS.Server/SaveManager.cs +++ b/ShiftOS.Server/SaveManager.cs @@ -215,32 +215,6 @@ namespace ShiftOS.Server WriteEncFile(savefile, JsonConvert.SerializeObject(save)); } - var wr = HttpWebRequest.Create(UserConfig.Get().UniteUrl + "/API/GetCodepoints"); - wr.Headers.Add("Authentication: Token " + save.UniteAuthToken); - try - { - using (var resp = wr.GetResponse()) - { - using (var str = resp.GetResponseStream()) - { - using (var reader = new StreamReader(str)) - { - Console.WriteLine("This user has " + reader.ReadToEnd() + " Codepoint(s)."); - } - } - } - } - catch (Exception ex) - { - Console.WriteLine(ex); - Program.server.DispatchTo(new Guid(guid), new NetObject("auth_failed", new ServerMessage - { - Name = "mud_login_denied", - GUID = "server" - })); - return; - } - Program.server.DispatchTo(new Guid(guid), new NetObject("mud_savefile", new ServerMessage { Name = "mud_savefile",