savebuff: do not skip channels with AutoClearChanBuffer==true

This commit is contained in:
Markus Jung
2014-10-26 15:38:31 +01:00
parent 4e79702142
commit 629e156975
-8
View File
@@ -100,9 +100,6 @@ public:
const vector<CChan *>& vChans = GetNetwork()->GetChans();
for (u_int a = 0; a < vChans.size(); a++)
{
if (vChans[a]->AutoClearChanBuffer())
continue;
if (!BootStrap(vChans[a]))
{
PutUser(":***!znc@znc.in PRIVMSG " + vChans[a]->GetName() + " :Failed to decrypt this channel, did you change the encryption pass?");
@@ -176,11 +173,6 @@ public:
CString sPath = GetPath(vChans[a]->GetName());
CFile File(sPath);
if (vChans[a]->AutoClearChanBuffer()) {
File.Delete();
continue;
}
const CBuffer& Buffer = vChans[a]->GetBuffer();
CString sLine;