diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-20 03:36:47 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-20 03:36:47 +0000 |
commit | 1c476a60f4c9e5afcf22417fc720a91c5b0a887b (patch) | |
tree | cb75ad3949d8ac3540d35f5f7ebc0446fb6be3fb /protocols/Steam | |
parent | f795b3b823f76d9c61fccfad53c2f2cfbe5b3115 (diff) |
Steam: Fix "Go to email domain" in Steam Guard dialog (broken probably since r12594)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15906 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 7bf093951f..a063870600 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -171,6 +171,10 @@ void CSteamProto::OnAuthorizationError(const JSONNode &node) std::string domain = node["emaildomain"].as_string(); + // Make absolute link + if (domain.find("://") == std::string::npos) + domain = "http://" + domain; + CSteamGuardDialog guardDialog(this, domain.c_str()); if (guardDialog.DoModal() != DIALOG_RESULT_OK) { |