wrapped two cerr calls in DEBUG_ONLY()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@489 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-13 06:44:21 +00:00
parent 6079703365
commit fb221fb906
+2 -2
View File
@@ -1024,7 +1024,7 @@ void CModPerl::LoadPerlMod( const CString & sModule )
{
if ( !m_pUser )
{
cerr << "LoadPerlMod: No User is set!!!" << endl;
DEBUG_ONLY( cerr << "LoadPerlMod: No User is set!!!" << endl );
return;
}
@@ -1054,7 +1054,7 @@ void CModPerl::UnloadPerlMod( const CString & sModule )
DestroyAllSocks( sModule );
if ( !m_pUser )
{
cerr << "UnloadPerlMod: No User is set!!!" << endl;
DEBUG_ONLY( cerr << "UnloadPerlMod: No User is set!!!" << endl );
return;
}
Eval( "ZNC::COREUnloadMod( '" + m_pUser->GetUserName() + "', '" + sModule + "');" );