From d704d0511cc374268ddfce820a45a40e75604a34 Mon Sep 17 00:00:00 2001 From: imaginos Date: Mon, 18 Apr 2005 17:26:23 +0000 Subject: [PATCH] ditch warning message git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@150 726aef4b-f618-498e-8847-2d620e286838 --- modules/savebuff.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index 17d0c5ff..fb34fe6b 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -26,6 +26,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.8 2005/04/18 17:26:23 imaginos + * ditch warning message + * * Revision 1.7 2005/04/18 05:39:19 prozacx * Don't call OnBoot() in OnLoad() and print modname in error msg * @@ -155,6 +158,7 @@ public: for( u_int a = 0; a < vChans.size(); a++ ) { const vector & vBuffer = vChans[a]->GetBuffer(); + // TODO make this configureable vChans[a]->SetKeepBuffer( true ); vChans[a]->SetBufferCount( 500 ); @@ -263,10 +267,7 @@ private: sBuffer = ""; if ( ( sChannel.empty() ) || ( !ReadFile( sChannel, sFile ) ) ) - { - PutModule( "Unable to find buffer for that channel" ); return( true ); // gonna be successful here - } if ( !sFile.empty() ) {