Don't forward our own QUITs to clients

Colloquy disconnects if it receives a QUIT from the server. Also, the old
behavior wasn't really consistent, a quit was only forwarded if the user was in
any non-detached channels.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1860 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-03-30 15:09:32 +00:00
parent ba05f11ea4
commit ff4c3f4f03

View File

@@ -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<CChan*> vFoundChans;