summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-11-02 23:22:55 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-11-09 23:24:52 +0100
commit43b337bf0931d2b3e6b061010861ea494f1c4b92 (patch)
treef7c8c2c44b5b478d0ecae551d2b2abda1b7730d7 /src
parentc81b3c269e39700be94fd9e2629b0bdfb0d093f8 (diff)
downloadmana-43b337bf0931d2b3e6b061010861ea494f1c4b92.tar.gz
mana-43b337bf0931d2b3e6b061010861ea494f1c4b92.tar.bz2
mana-43b337bf0931d2b3e6b061010861ea494f1c4b92.tar.xz
mana-43b337bf0931d2b3e6b061010861ea494f1c4b92.zip
Fix client successful unregister behaviour for manaserv.
Resolves: Mana-Mantis #250. Reviewed-by: Freeyorp, thorbjorn.
Diffstat (limited to 'src')
-rw-r--r--src/net/manaserv/loginhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/loginhandler.cpp b/src/net/manaserv/loginhandler.cpp
index 61671824..29418124 100644
--- a/src/net/manaserv/loginhandler.cpp
+++ b/src/net/manaserv/loginhandler.cpp
@@ -196,7 +196,7 @@ void LoginHandler::handleMessage(Net::MessageIn &msg)
// Successful unregistration
if (errMsg == ERRMSG_OK)
{
- Client::setState(STATE_UNREGISTER);
+ Client::setState(STATE_UNREGISTER_SUCCESS);
}
// Unregistration failed
else