Skip to content

Commit 20fe5f2

Browse files
committed
up
1 parent ad5a44f commit 20fe5f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎kbe/src/lib/client_lib/clientapp.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,13 +636,13 @@ void ClientApp::onLoginSuccessfully(Mercury::Channel * pChannel, MemoryStream& s
636636
void ClientApp::onLoginFailed(Mercury::Channel * pChannel, MemoryStream& s)
637637
{
638638
ClientObjectBase::onLoginFailed(pChannel, s);
639-
canReset_ = false;
639+
canReset_ = true;
640640
}
641641

642642
void onLoginGatewayFailed(Mercury::Channel * pChannel, SERVER_ERROR_CODE failedcode)
643643
{
644644
ClientObjectBase::onLoginGatewayFailed(pChannel, failedcode);
645-
canReset_ = false;
645+
canReset_ = true;
646646
}
647647

648648
//-------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)