From fbd8699329ad9f9e604b84935539b470e161379d Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sun, 29 Dec 2019 17:07:00 -0600 Subject: [PATCH] fix issue accessing the wrong logger --- Application/IW4MServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/IW4MServer.cs b/Application/IW4MServer.cs index 93a71f6c..4e81f75d 100644 --- a/Application/IW4MServer.cs +++ b/Application/IW4MServer.cs @@ -587,8 +587,8 @@ namespace IW4MAdmin catch (Exception e) { - origin.CurrentServer.Logger.WriteWarning($"Could not execute on join for {origin}"); - origin.CurrentServer.Logger.WriteDebug(e.GetExceptionInfo()); + Logger.WriteWarning($"Could not execute on join for {origin}"); + Logger.WriteDebug(e.GetExceptionInfo()); } } }