mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
+2
-2
@@ -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 + "');" );
|
||||
|
||||
Reference in New Issue
Block a user