equal
deleted
inserted
replaced
536 return; |
536 return; |
537 } |
537 } |
538 |
538 |
539 if (lst[0] == "ASKPASSWORD") |
539 if (lst[0] == "ASKPASSWORD") |
540 { |
540 { |
541 emit AskForPassword(mynick); |
541 emit NickRegistered(mynick); |
542 return; |
542 return; |
543 } |
543 } |
544 |
544 |
545 if (lst[0] == "NOTICE") |
545 if (lst[0] == "NOTICE") |
546 { |
546 { |
571 return; |
571 return; |
572 } |
572 } |
573 if (lst[1] == "Authentication failed") |
573 if (lst[1] == "Authentication failed") |
574 { |
574 { |
575 emit AuthFailed(); |
575 emit AuthFailed(); |
|
576 m_game_connected = false; |
|
577 Disconnect(); |
|
578 //omitted 'emit disconnected()', we don't want the error message |
|
579 return; |
576 } |
580 } |
577 m_game_connected = false; |
581 m_game_connected = false; |
578 Disconnect(); |
582 Disconnect(); |
579 emit disconnected(lst[1]); |
583 emit disconnected(lst[1]); |
580 return; |
584 return; |