summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-09 14:51:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-09 14:51:14 +0300
commit8ac73cce3f9808c8fa48b280635104d9587c9c5a (patch)
tree8bbcce22fb3532c5ac915a3d87eecf41fc3d77bd /src/net/tmwa/loginhandler.cpp
parentf39df8b1de96c6d6e78d90f2f058318aa7fd998b (diff)
downloadmv-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.gz
mv-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.bz2
mv-8ac73cce3f9808c8fa48b280635104d9587c9c5a.tar.xz
mv-8ac73cce3f9808c8fa48b280635104d9587c9c5a.zip
Remove virtual method call from MessageOut constructor.
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index d45cd7a09..5a8aaf6c6 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -58,7 +58,9 @@ void LoginHandler::connect()
Network::mInstance->connect(mServer);
if (serverFeatures->haveServerVersion())
+ {
createOutPacket(CMSG_SERVER_VERSION_REQUEST);
+ }
}
bool LoginHandler::isConnected() const