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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp
index d5ca68241..c6aa48b83 100644
--- a/src/net/tmwa/loginrecv.cpp
+++ b/src/net/tmwa/loginrecv.cpp
@@ -29,6 +29,8 @@
#include "net/messagein.h"
+#include "net/tmwa/updateprotocol.h"
+
#include "utils/gettext.h"
#include "debug.h"
@@ -80,6 +82,8 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
else
logger->log("Server without version");
+ updateProtocol();
+
if (serverVersion < 5)
{
if (client->getState() != STATE_LOGIN)