Normalize methods with 'UserName' to 'Username'

This commit is contained in:
Pierre Gordon
2019-01-01 14:20:05 -05:00
parent 812b27c268
commit 6af027c5dd
27 changed files with 184 additions and 165 deletions
+1 -1
View File
@@ -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("/", "-")