summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-22 18:59:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-22 18:59:41 +0300
commit1cf6cb343c6c8df8a998c617fd6f8d40f5affbea (patch)
treed5e090e99c02a0ce70d00c4dc527d777881cd83c /src/net/eathena/loginhandler.cpp
parentf20c99d2bffe798806790e1f1ae838bba494d93c (diff)
downloadmanaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.gz
manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.bz2
manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.xz
manaplus-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.zip
Add support for packet version in servers list xml and in editor.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp
index a7bcd5406..07614be0c 100644
--- a/src/net/eathena/loginhandler.cpp
+++ b/src/net/eathena/loginhandler.cpp
@@ -29,6 +29,7 @@
#include "net/eathena/messageout.h"
#include "net/eathena/network.h"
+#include "net/eathena/updateprotocol.h"
#include "net/eathena/protocolout.h"
#include "debug.h"
@@ -141,4 +142,9 @@ void LoginHandler::ping() const
outMsg.writeInt32(0, "unused");
}
+void LoginHandler::updatePacketVersion() const
+{
+ updateProtocol();
+}
+
} // namespace EAthena