mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Update libcockatrice_network/libcockatrice/network/client/remote/remote_client.cpp
Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
This commit is contained in:
parent
ae051891fb
commit
eca31077ad
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ void RemoteClient::processServerIdentificationEvent(const Event_ServerIdentifica
|
|||
const QString serverName = QString::fromStdString(event.server_name()).left(256);
|
||||
const QString serverVersion = QString::fromStdString(event.server_version()).left(256);
|
||||
qCInfo(RemoteClientLog) << "Server identification:" << serverName
|
||||
<< "version" << serverVersion << "protocol" << event.protocol_version();
|
||||
<< "version" << serverVersion << "protocol version" << event.protocol_version();
|
||||
if (event.protocol_version() != protocolVersion) {
|
||||
emit protocolVersionMismatch(protocolVersion, event.protocol_version());
|
||||
setStatus(StatusDisconnecting);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue