summaryrefslogtreecommitdiff
path: root/src/net/manaserv/loginhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-12-05 11:18:16 -0700
committerJared Adams <jaxad0127@gmail.com>2009-12-05 11:18:16 -0700
commit7ff6ea8d742b41603a8f08c2fc16c683330cb5ec (patch)
tree89fe90ec816116d1bf268735877b13891e9ab5de /src/net/manaserv/loginhandler.cpp
parent1bce89619b241eac193a235fc790c91b7d5a8227 (diff)
downloadmana-client-7ff6ea8d742b41603a8f08c2fc16c683330cb5ec.tar.gz
mana-client-7ff6ea8d742b41603a8f08c2fc16c683330cb5ec.tar.bz2
mana-client-7ff6ea8d742b41603a8f08c2fc16c683330cb5ec.tar.xz
mana-client-7ff6ea8d742b41603a8f08c2fc16c683330cb5ec.zip
Syncronize registration info with ManaServ
Diffstat (limited to 'src/net/manaserv/loginhandler.cpp')
-rw-r--r--src/net/manaserv/loginhandler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp
index 1cb9baff..34202411 100644
--- a/src/net/manaserv/loginhandler.cpp
+++ b/src/net/manaserv/loginhandler.cpp
@@ -216,8 +216,6 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
{
mMinUserNameLength = msg.readInt8();
mMaxUserNameLength = msg.readInt8();
- msg.readInt8();
- msg.readInt8();
std::string captchaURL = msg.readString();
std::string captchaInstructions = msg.readString();
@@ -300,7 +298,7 @@ void LoginHandler::handleRegisterResponse(Net::MessageIn &msg)
case REGISTER_EXISTS_EMAIL:
errorMessage = _("Email address already exists.");
break;
- case REGISTER_FAILED_CAPTCHA:
+ case REGISTER_CAPTCHA_WRONG:
errorMessage = _("You took too long with the captcha or your "
"response was incorrect.");
break;