mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make CClient::PutClient() handle extended-join
This commit is contained in:
@@ -792,6 +792,10 @@ bool CClient::PutClient(const CMessage& Message)
|
||||
Msg.SetParam(3, CString(" ").Join(vsNicks.begin(), vsNicks.end()));
|
||||
}
|
||||
}
|
||||
} else if (Msg.GetType() == CMessage::Type::Join) {
|
||||
if (!m_bExtendedJoin && pIRCSock->HasExtendedJoin()) {
|
||||
Msg.SetParams({static_cast<CJoinMessage&>(Msg).GetTarget()});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user