Fix the OnUserCTCP() module hook

This was broken when CClient was made network aware with ef2b2cf601
This commit is contained in:
Kyle Fuller
2011-10-16 23:26:07 +00:00
parent af24f7b9a7
commit eb1abb50e8
+2 -4
View File
@@ -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");
}