From 629e1569751440b0ea8b14103369572c5e7a8777 Mon Sep 17 00:00:00 2001 From: Markus Jung Date: Sun, 26 Oct 2014 15:38:31 +0100 Subject: [PATCH] savebuff: do not skip channels with AutoClearChanBuffer==true --- modules/savebuff.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index d023d886..10e7b5a3 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -100,9 +100,6 @@ public: const vector& 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;