diff options
author | aunsane <aunsane@gmail.com> | 2018-01-19 23:12:59 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-19 23:12:59 +0300 |
commit | de12828fb9051fba1db1e4573cff56ee83ab6b1f (patch) | |
tree | 697ef72c4472d17d3e91622769e31833458237e8 /protocols/Steam/src/steam_options.cpp | |
parent | 014d34c71618f7df1fd5768a1dd88afa293578bb (diff) |
Steam: fix annoying auth requests on every relogin
Diffstat (limited to 'protocols/Steam/src/steam_options.cpp')
-rw-r--r-- | protocols/Steam/src/steam_options.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Steam/src/steam_options.cpp b/protocols/Steam/src/steam_options.cpp index e87775e68d..405b15e787 100644 --- a/protocols/Steam/src/steam_options.cpp +++ b/protocols/Steam/src/steam_options.cpp @@ -32,19 +32,14 @@ void CSteamOptionsMain::OnApply() }
if (m_proto->IsOnline())
- {
// may be we should show message box with warning?
m_proto->SetStatus(ID_STATUS_OFFLINE);
- }
- if (m_username.IsChanged())
- {
+ if (m_username.IsChanged()) {
m_proto->delSetting("SteamID");
m_proto->delSetting("TokenSecret");
}
if (m_password.IsChanged())
- {
m_proto->delSetting("TokenSecret");
- }
mir_free(group);
}
|