diff --git a/Dalamud/DiscordBot/DiscordBotManager.cs b/Dalamud/DiscordBot/DiscordBotManager.cs index 10b56663c..bec1fb0b6 100644 --- a/Dalamud/DiscordBot/DiscordBotManager.cs +++ b/Dalamud/DiscordBot/DiscordBotManager.cs @@ -182,8 +182,8 @@ namespace Dalamud.DiscordBot { var parsedSender = SeString.Parse(sender.RawData); var playerLink = parsedSender.Payloads.FirstOrDefault(x => x.Type == PayloadType.Player) as PlayerPayload; - var senderName = string.Empty; - var senderWorld = string.Empty; + string senderName; + string senderWorld; if (playerLink == null) { Log.Error("playerLink was null. Sender: {0}", BitConverter.ToString(sender.RawData)); diff --git a/Dalamud/EntryPoint.cs b/Dalamud/EntryPoint.cs index 232640f5e..417fa1255 100644 --- a/Dalamud/EntryPoint.cs +++ b/Dalamud/EntryPoint.cs @@ -21,7 +21,7 @@ namespace Dalamud { // This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally System.Net.ServicePointManager.SecurityProtocol = - SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls; + SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | SecurityProtocolType.Ssl3; // Log any unhandled exception. AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;