Make CClient::PutClient() handle extended-join

This commit is contained in:
J-P Nurmi
2015-09-12 19:14:20 +02:00
parent f4c22aff6c
commit f7802209ae
2 changed files with 4 additions and 14 deletions

View File

@@ -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()});
}
}
}