diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-27 00:28:21 +0100 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-01-27 00:28:21 +0100 |
commit | 40c58b4fe1fe73563f57830b7e57b3cbca9c972a (patch) | |
tree | 4de62231e19c7b6bae7d11cc9690fc866a4adcd5 /src/net | |
parent | 9ba5bdf74be00f6ed9984c161b16698a13d5eec9 (diff) | |
download | mana-client-40c58b4fe1fe73563f57830b7e57b3cbca9c972a.tar.gz mana-client-40c58b4fe1fe73563f57830b7e57b3cbca9c972a.tar.bz2 mana-client-40c58b4fe1fe73563f57830b7e57b3cbca9c972a.tar.xz mana-client-40c58b4fe1fe73563f57830b7e57b3cbca9c972a.zip |
Send the correct protocol version when registering on Manaserv.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/manaserv/loginhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp index 2f53b643..2f802e21 100644 --- a/src/net/manaserv/loginhandler.cpp +++ b/src/net/manaserv/loginhandler.cpp @@ -436,7 +436,7 @@ void LoginHandler::registerAccount(LoginData *loginData) MessageOut msg(PAMSG_REGISTER); - msg.writeInt32(0); // client version + msg.writeInt32(PROTOCOL_VERSION); // client version msg.writeString(loginData->username); // Use a hashed password for privacy reasons msg.writeString(sha256(loginData->username + loginData->password)); |