From 10cbf756b3f88e06480f034e76fc8d96e0284278 Mon Sep 17 00:00:00 2001 From: imaginos Date: Tue, 19 Apr 2005 20:54:38 +0000 Subject: [PATCH] cut&paste madness git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@156 726aef4b-f618-498e-8847-2d620e286838 --- modules/savebuff.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index 3fc4a836..f52a6770 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -26,6 +26,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.12 2005/04/19 20:54:38 imaginos + * cut&paste madness + * * Revision 1.11 2005/04/19 20:50:24 imaginos * only fill the buffer if its empty * @@ -143,7 +146,7 @@ public: string sFile; if ( DecryptChannel( pChan->GetName(), sFile ) ) { - if ( !vChans[a]->GetBuffer().empty() ) + if ( !pChan->GetBuffer().empty() ) return( true ); // reloaded a module probably in this case, so just verify we can decrypt the file string sLine;