summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 00:16:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-22 00:16:34 +0300
commitfbbf0771c39c27473e9b1b579aef68ab706fde50 (patch)
tree9a64e1a50db19724aed14153306af378ee2b5f34 /src/net/eathena/loginhandler.cpp
parentd99acda19b6d27ed4d931dfa14b5894e22dfc6af (diff)
downloadManaVerse-fbbf0771c39c27473e9b1b579aef68ab706fde50.tar.gz
ManaVerse-fbbf0771c39c27473e9b1b579aef68ab706fde50.tar.bz2
ManaVerse-fbbf0771c39c27473e9b1b579aef68ab706fde50.tar.xz
ManaVerse-fbbf0771c39c27473e9b1b579aef68ab706fde50.zip
eathena: possible fix for sending login packets.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp2
1 files changed, 2 insertions, 0 deletions
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)