diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-22 00:16:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-22 00:16:34 +0300 |
commit | fbbf0771c39c27473e9b1b579aef68ab706fde50 (patch) | |
tree | 9a64e1a50db19724aed14153306af378ee2b5f34 /src/net/eathena/generalhandler.cpp | |
parent | d99acda19b6d27ed4d931dfa14b5894e22dfc6af (diff) | |
download | manaverse-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/generalhandler.cpp')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index 2a21f90f3..b527aae70 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -344,6 +344,14 @@ void GeneralHandler::unload() clearHandlers(); } +void GeneralHandler::flushSend() +{ + if (!mNetwork) + return; + + mNetwork->flush(); +} + void GeneralHandler::flushNetwork() { if (!mNetwork) |