From 54ab10a311eb736c39f7ac7ebece6b164059e8c5 Mon Sep 17 00:00:00 2001 From: Walliski Date: Tue, 27 Oct 2015 01:35:57 +0200 Subject: [PATCH] Removed AsLower from $USER and $NETWORK since these are case sensitive --- modules/log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/log.cpp b/modules/log.cpp index cb3526a9..8430fde4 100644 --- a/modules/log.cpp +++ b/modules/log.cpp @@ -233,8 +233,8 @@ void CLogMod::PutLog(const CString& sLine, const CString& sWindow /*= "Status"*/ // TODO: Properly handle IRC case mapping // $WINDOW has to be handled last, since it can contain % - sPath.Replace("$USER", CString((GetUser() ? GetUser()->GetUserName() : "UNKNOWN")).AsLower()); - sPath.Replace("$NETWORK", CString((GetNetwork() ? GetNetwork()->GetName() : "znc")).AsLower()); + sPath.Replace("$USER", CString((GetUser() ? GetUser()->GetUserName() : "UNKNOWN"))); + sPath.Replace("$NETWORK", CString((GetNetwork() ? GetNetwork()->GetName() : "znc"))); sPath.Replace("$WINDOW", CString(sWindow.Replace_n("/", "-").Replace_n("\\", "-")).AsLower()); // Check if it's allowed to write in this specific path