diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-05 22:03:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-05 22:03:00 +0300 |
commit | 9000595b551d09cbaf14cbfd7b49aa5aca3d9a90 (patch) | |
tree | ea5e3f6abb32c518f7f82b10fbcc9ca67e70e13a /protocols/IcqOscarJ/src/fam_13servclist.cpp | |
parent | 48dd585af3311ef3e51bf081c37e61b56199a455 (diff) |
proper fix for UINs in auth dialogs
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_13servclist.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/fam_13servclist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/fam_13servclist.cpp b/protocols/IcqOscarJ/src/fam_13servclist.cpp index 3e7b1004db..4d7e78c0b4 100644 --- a/protocols/IcqOscarJ/src/fam_13servclist.cpp +++ b/protocols/IcqOscarJ/src/fam_13servclist.cpp @@ -1392,7 +1392,7 @@ void CIcqProto::handleRecvAuthRequest(unsigned char *buf, size_t wLen) szNick = null_strdup(szUid); DB_AUTH_BLOB blob(hContact, szNick, 0, 0, 0, szReason); - *(DWORD*)(PBYTE)blob = dwUin; + blob.set_uin(dwUin); setByte(hContact, "Grant", 1); |