Make CClient::PutClient() handle extended-join
This commit is contained in:
1 parent
f4c22aff6c
commit
f7802209ae
2 files changed
+4
-14
No files matched your search
@@ -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