From bd89c85e9ee40260715163d1a9982b94be27dcf1 Mon Sep 17 00:00:00 2001 From: psychon Date: Thu, 28 Jan 2010 19:46:06 +0000 Subject: [PATCH] CClient::PutIRC(): Use CUser::PutIRC() This won't save the world, but it won't destroy it either. ;) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1726 726aef4b-f618-498e-8847-2d620e286838 --- Client.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Client.cpp b/Client.cpp index 4943025a..6036b3f7 100644 --- a/Client.cpp +++ b/Client.cpp @@ -739,9 +739,7 @@ void CClient::BouncedOff() { } void CClient::PutIRC(const CString& sLine) { - if (GetIRCSock()) { - GetIRCSock()->PutIRC(sLine); - } + m_pUser->PutIRC(sLine); } void CClient::PutClient(const CString& sLine) {