summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index deca661c..8cd6eeb6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -430,7 +430,7 @@ void accountLogin(Network *network, LoginData *loginData)
// Send login infos
MessageOut *msg = new MessageOut();
msg->writeShort(PAMSG_LOGIN);
- msg->writeString("0.1.0"); // client version
+ msg->writeLong(0); // client version
msg->writeString(loginData->username);
msg->writeString(loginData->password);
network->send(msg);