Use the new CString constructor in various places to make them more readable

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1245 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-10-10 17:58:36 +00:00
parent 88a993a63a
commit 0a4e4a10a6
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ bool CChan::WriteConfig(CFile& File) {
if (m_pUser->GetBufferCount() != GetBufferCount())
File.Write("\t\tBuffer = " + CString(GetBufferCount()) + "\n");
if (m_pUser->KeepBuffer() != KeepBuffer())
File.Write("\t\tKeepBuffer = " + CString((KeepBuffer()) ? "true" : "false") + "\n");
File.Write("\t\tKeepBuffer = " + CString(KeepBuffer()) + "\n");
if (IsDetached())
File.Write("\t\tDetached = true\n");
if (!GetKey().empty()) { File.Write("\t\tKey = " + GetKey() + "\n"); }