mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user