mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user