forked from mirror/openmw-tes3mp
[Server] Handle ID_CONNECTION_ATTEMPT_FAILED in MasterClient
And fix log message
This commit is contained in:
parent
1ce8c0f9ec
commit
5517d871c6
1 changed files with 2 additions and 1 deletions
|
@ -112,6 +112,7 @@ bool MasterClient::Process(RakNet::Packet *packet)
|
|||
rs.Read(pid);
|
||||
switch (pid)
|
||||
{
|
||||
case ID_CONNECTION_ATTEMPT_FAILED:
|
||||
case ID_CONNECTION_REQUEST_ACCEPTED:
|
||||
case ID_DISCONNECTION_NOTIFICATION:
|
||||
break;
|
||||
|
@ -158,7 +159,7 @@ void MasterClient::Send(mwmp::PacketMasterAnnounce::Func func)
|
|||
case IS_SILENTLY_DISCONNECTING:
|
||||
case IS_DISCONNECTING:
|
||||
{
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Cannot connect to master server: %d", masterServer.ToString());
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Cannot connect to master server: %s", masterServer.ToString());
|
||||
return;
|
||||
}
|
||||
case IS_PENDING:
|
||||
|
|
Loading…
Reference in a new issue