mirror of
https://github.com/znc/znc.git
synced 2026-07-31 22:13:20 +02:00
Fix the OnUserCTCP() module hook
This was broken when CClient was made network aware with ef2b2cf601
This commit is contained in:
+2
-4
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user