summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/loginrecv.cpp')
-rw-r--r--src/net/tmwa/loginrecv.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp
index d86b65c23..40b7a2aba 100644
--- a/src/net/tmwa/loginrecv.cpp
+++ b/src/net/tmwa/loginrecv.cpp
@@ -75,20 +75,15 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
serverVersion = 0;
tmwServerVersion = 0;
}
- if (serverVersion > 0)
- logger->log("Evol server version: %d", serverVersion);
- else if (tmwServerVersion > 0)
+ if (tmwServerVersion > 0)
logger->log("Tmw server version: x%06x", tmwServerVersion);
else
logger->log("Server without version");
updateProtocol();
- if (serverVersion < 5)
- {
- if (client->getState() != State::LOGIN)
- client->setState(State::LOGIN);
- }
+ if (client->getState() != State::LOGIN)
+ client->setState(State::LOGIN);
// Leave this last
Ea::LoginRecv::mVersionResponse = true;