diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-04-08 20:10:21 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-04-08 20:10:21 +0000 |
commit | 79b9cfd9d1016335c2004d3cb188d8780ee7fcb9 (patch) | |
tree | 168092874d28bf31d2104bbe81a1c5b85bca8142 /protocols/Steam/src/steam_account.cpp | |
parent | 8ab45308a3e218ac2638ec12f2203c68e11559b5 (diff) |
Steam:
- fixed small issues
- added initial api description
git-svn-id: http://svn.miranda-ng.org/main/trunk@8895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_account.cpp')
-rw-r--r-- | protocols/Steam/src/steam_account.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_account.cpp b/protocols/Steam/src/steam_account.cpp index 133ddd068c..c0686cf7bd 100644 --- a/protocols/Steam/src/steam_account.cpp +++ b/protocols/Steam/src/steam_account.cpp @@ -90,6 +90,12 @@ void CSteamProto::Authorize(SteamWebApi::AuthorizationApi::AuthResult *authResul ptrW username(getWStringA("Username"));
ptrA base64RsaEncryptedPassword;
+ const wchar_t *nickname = getWStringA("Nick");
+ if (lstrlen(nickname) == 0 && username)
+ setWString("Nick", username);
+
+ return;
+
// get rsa public key
SteamWebApi::RsaKeyApi::RsaKey rsaKey;
SteamWebApi::RsaKeyApi::GetRsaKey(m_hNetlibUser, username, &rsaKey);
|