diff options
-rw-r--r-- | src/net/tmwa/loginrecv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp index a11888b9d..25341889a 100644 --- a/src/net/tmwa/loginrecv.cpp +++ b/src/net/tmwa/loginrecv.cpp @@ -86,10 +86,12 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) serverVersion = 0; tmwServerVersion = 0; } + if (tmwServerVersion > 0) - logger->log("Tmw server version: x%06x", tmwServerVersion); + logger->log("TMW server version: 0x%06x", tmwServerVersion); else logger->log("Server without version"); + updateProtocol(); if (client->getState() != State::LOGIN) |