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:
psychon
2009-01-25 16:51:54 +00:00
parent 8d8bbb0920
commit 235b10c200
15 changed files with 80 additions and 83 deletions
+3 -3
View File
@@ -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 + "');");