Commit 9d3425b4409f769ac706f11754ddddb7a5a245c2

Authored by Matti Virkkunen
1 parent acc750ed

Do not try to reconnect if login fails.

libpurple/purpleline_login.cpp
@@ -78,6 +78,8 @@ void PurpleLine::get_auth_token() { @@ -78,6 +78,8 @@ void PurpleLine::get_auth_token() {
78 } catch (line::TalkException &err) { 78 } catch (line::TalkException &err) {
79 std::string msg = "Could not log in. " + err.reason; 79 std::string msg = "Could not log in. " + err.reason;
80 80
  81 + conn->wants_to_die = TRUE;
  82 +
81 purple_connection_error( 83 purple_connection_error(
82 conn, 84 conn,
83 msg.c_str()); 85 msg.c_str());