mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
savebuff: do not skip channels with AutoClearChanBuffer==true
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user