diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-07 15:31:54 -0600 |
commit | 11b3ff85e9dc8f39ddcfdff511c6340b899ba414 (patch) | |
tree | a63ab360f58ac4e76066b1969e75a6e53a49a000 /src/net/tmwserv | |
parent | f708a9bf4aeff8781ec5697ff3936e5791a9137a (diff) | |
download | mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.gz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.bz2 mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.tar.xz mana-11b3ff85e9dc8f39ddcfdff511c6340b899ba414.zip |
Clean up state machine some more
Diffstat (limited to 'src/net/tmwserv')
-rw-r--r-- | src/net/tmwserv/loginhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwserv/loginhandler.cpp b/src/net/tmwserv/loginhandler.cpp index 9c102031..5035a4db 100644 --- a/src/net/tmwserv/loginhandler.cpp +++ b/src/net/tmwserv/loginhandler.cpp @@ -102,7 +102,7 @@ void LoginHandler::handleMessage(MessageIn &msg) // Successful pass change if (errMsg == ERRMSG_OK) { - state = STATE_CHANGEPASSWORD; + state = STATE_CHANGEPASSWORD_SUCCESS; } // pass change failed else @@ -132,7 +132,7 @@ void LoginHandler::handleMessage(MessageIn &msg) // Successful pass change if (errMsg == ERRMSG_OK) { - state = STATE_CHANGEEMAIL; + state = STATE_CHANGEEMAIL_SUCCESS; } // pass change failed else |