From a7ae4ad3757c0adbc73805cf90fb83a1a26bcb2b Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 3 Apr 2005 05:36:52 +0000 Subject: [PATCH] Put a debug print into DEBUG_ONLY() git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@68 726aef4b-f618-498e-8847-2d620e286838 --- IRCSock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRCSock.cpp b/IRCSock.cpp index a36047c3..63963d0b 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -750,7 +750,7 @@ void CIRCSock::Connected() { void CIRCSock::Disconnected() { #ifdef _MODULES - cerr << "OnIRCDisconnected()" << endl; + DEBUG_ONLY(cout << "OnIRCDisconnected()" << endl); m_pUser->GetModules().OnIRCDisconnected(); #endif