mirror of
https://github.com/znc/znc.git
synced 2026-07-05 17:31:06 +02:00
Normalize methods with 'UserName' to 'Username'
This commit is contained in:
+1
-1
@@ -284,7 +284,7 @@ void CLogMod::PutLog(const CString& sLine,
|
||||
// TODO: Properly handle IRC case mapping
|
||||
// $WINDOW has to be handled last, since it can contain %
|
||||
sPath.Replace("$USER",
|
||||
CString((GetUser() ? GetUser()->GetUserName() : "UNKNOWN")));
|
||||
CString((GetUser() ? GetUser()->GetUsername() : "UNKNOWN")));
|
||||
sPath.Replace("$NETWORK",
|
||||
CString((GetNetwork() ? GetNetwork()->GetName() : "znc")));
|
||||
sPath.Replace("$WINDOW", CString(sWindow.Replace_n("/", "-")
|
||||
|
||||
Reference in New Issue
Block a user