diff --git a/IRCSock.cpp b/IRCSock.cpp index 3cdd1de9..73236272 100644 --- a/IRCSock.cpp +++ b/IRCSock.cpp @@ -384,6 +384,10 @@ void CIRCSock::ReadLine(const CString& sData) { if (Nick.GetNick().Equals(GetNick())) { m_pUser->PutStatus("You quit [" + sMessage + "]"); + // We don't call module hooks and we don't + // forward this quit to clients (Some clients + // disconnect if they receive such a QUIT) + return; } vector vFoundChans;