From fbbf0771c39c27473e9b1b579aef68ab706fde50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Mar 2015 00:16:34 +0300 Subject: eathena: possible fix for sending login packets. --- src/net/eathena/loginhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/eathena/loginhandler.cpp') diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index 8c0b80438..fe10fc335 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -26,6 +26,7 @@ #include "gui/windows/logindialog.h" +#include "net/generalhandler.h" #include "net/serverfeatures.h" #include "net/eathena/messageout.h" @@ -253,6 +254,7 @@ void LoginHandler::sendVersion() const outMsg.writeInt32(0, "unused"); outMsg.writeInt32(0, "unused"); outMsg.writeInt32(0, "unused"); + generalHandler->flushSend(); } void LoginHandler::processServerVersion(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2