From 11b3ff85e9dc8f39ddcfdff511c6340b899ba414 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 7 Oct 2009 15:31:54 -0600 Subject: Clean up state machine some more --- src/net/tmwserv/loginhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwserv') 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 -- cgit v1.2.3-70-g09d2