mirror of
https://github.com/znc/znc.git
synced 2026-06-28 14:01:35 +02:00
Pass the nick who send an invite with the OnInvite hook
This commit is contained in:
+1
-1
@@ -712,7 +712,7 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
// Don't forward any CAP stuff to the client
|
||||
return;
|
||||
} else if (sCmd.Equals("INVITE")) {
|
||||
NETWORKMODULECALL(OnInvite(sLine.Token(3).TrimPrefix_n(":")), m_pNetwork->GetUser(), m_pNetwork, NULL, NOTHING);
|
||||
NETWORKMODULECALL(OnInvite(Nick, sLine.Token(3).TrimPrefix_n(":")), m_pNetwork->GetUser(), m_pNetwork, NULL, NOTHING);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user