mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
Removed AsLower from $USER and $NETWORK since these are case sensitive
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user