diff --git a/src/Client.cpp b/src/Client.cpp index 763e6805..381f16e4 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -300,12 +300,10 @@ void CClient::ReadLine(const CString& sData) { } } } + } else { + NETWORKMODULECALL(OnUserCTCP(sTarget, sCTCP), m_pUser, m_pNetwork, this, return); } - } else { - NETWORKMODULECALL(OnUserCTCP(sTarget, sCTCP), m_pUser, m_pNetwork, this, return); - } - if (m_pNetwork) { PutIRC("PRIVMSG " + sTarget + " :\001" + sCTCP + "\001"); }