From af8b2fdda79117241a5cd2cce2a9975d3b9068be Mon Sep 17 00:00:00 2001 From: prozacx Date: Mon, 18 Apr 2005 05:39:19 +0000 Subject: [PATCH] Don't call OnBoot() in OnLoad() and print modname in error msg git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@147 726aef4b-f618-498e-8847-2d620e286838 --- modules/savebuff.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index 4d939d7e..17d0c5ff 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -26,6 +26,9 @@ * better solution then plain text. * * $Log$ + * Revision 1.7 2005/04/18 05:39:19 prozacx + * Don't call OnBoot() in OnLoad() and print modname in error msg + * * Revision 1.6 2005/04/18 04:44:40 imaginos * fixed bug where attempting to set a bad pass trashes existing buffer * @@ -92,7 +95,6 @@ public: if (!sArgs.empty()) { m_sPassword = CBlowfish::MD5( sArgs ); - return( OnBoot() ); } return true; @@ -138,7 +140,7 @@ public: } } else { - CUtils::PrintError("Failed to Decrypt [" + pChan->GetName() + "]"); + CUtils::PrintError("[" + GetModName() + ".so] Failed to Decrypt [" + pChan->GetName() + "]"); return( false ); }