diff --git a/IRCSock.cpp b/IRCSock.cpp index ff40d730..7867f6d6 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -711,6 +711,8 @@ 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); } } diff --git a/Modules.cpp b/Modules.cpp index 7d1a9fec..33600418 100644 --- a/Modules.cpp +++ b/Modules.cpp @@ -513,6 +513,7 @@ void CModule::OnNick(const CNick& Nick, const CString& sNewNick, const vector