And fix a shitload of trailing whitespaces and space / tab mixups in ZNC

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@959 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-02-16 12:52:11 +00:00
parent be3edeee82
commit f74ab87e19
36 changed files with 243 additions and 252 deletions

View File

@@ -156,7 +156,7 @@ CString& CUser::AddTimestamp(const CString& sStr, CString& sRet) const {
if (m_bAppendTimestamp) {
sRet += " ";
sRet += szTimestamp;
}
}
}
return sRet;
}
@@ -527,7 +527,7 @@ bool CUser::PrintLine(CFile& File, const CString& sName, const CString& sValue)
}
bool CUser::WriteConfig(CFile& File) {
File.Write("<User " + GetUserName() + ">\r\n");
File.Write("<User " + GetUserName() + ">\r\n");
PrintLine(File, "Pass", GetPass() + ((IsPassHashed()) ? " -" : ""));
PrintLine(File, "Nick", GetNick());
@@ -919,7 +919,7 @@ bool CUser::SendFile(const CString& sRemoteNick, const CString& sFileName, const
if (GetNick().CaseCmp(sRemoteNick) == 0) {
PutUser(":" + GetStatusPrefix() + "status!znc@znc.com PRIVMSG " + sRemoteNick + " :\001DCC SEND " + pFile->GetShortName() + " " + CString(CUtils::GetLongIP(GetLocalIP())) + " "
+ CString(uPort) + " " + CString(pFile->GetSize()) + "\001");
+ CString(uPort) + " " + CString(pFile->GetSize()) + "\001");
} else {
PutIRC("PRIVMSG " + sRemoteNick + " :\001DCC SEND " + pFile->GetShortName() + " " + CString(CUtils::GetLongIP(GetLocalIP())) + " "
+ CString(uPort) + " " + CString(pFile->GetSize()) + "\001");