mirror of
https://github.com/znc/znc.git
synced 2026-05-07 05:44:41 +02:00
Use that new define everywhere
Now there are no uses of DEBUG_ONLY() left :( git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1349 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-3
@@ -282,7 +282,7 @@ public:
|
||||
sTmp[a] = ' ';
|
||||
}
|
||||
PutModule(sTmp);
|
||||
DEBUG_ONLY(cerr << sTmp << endl);
|
||||
DEBUG(sTmp);
|
||||
}
|
||||
|
||||
CSockManager * GetSockManager() { return(m_pManager); }
|
||||
@@ -1051,7 +1051,7 @@ void CModPerl::LoadPerlMod(const CString & sModule)
|
||||
{
|
||||
if (!m_pUser)
|
||||
{
|
||||
DEBUG_ONLY(cerr << "LoadPerlMod: No User is set!!!" << endl);
|
||||
DEBUG("LoadPerlMod: No User is set!!!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1082,7 +1082,7 @@ void CModPerl::UnloadPerlMod(const CString & sModule)
|
||||
DestroyAllSocks(sModule);
|
||||
if (!m_pUser)
|
||||
{
|
||||
DEBUG_ONLY(cerr << "UnloadPerlMod: No User is set!!!" << endl);
|
||||
DEBUG("UnloadPerlMod: No User is set!!!");
|
||||
return;
|
||||
}
|
||||
Eval("ZNC::COREUnloadMod('" + m_pUser->GetUserName() + "', '" + sModule + "');");
|
||||
|
||||
Reference in New Issue
Block a user