summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/mra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/mra.cpp')
-rw-r--r--protocols/ICQ-WIM/src/mra.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/ICQ-WIM/src/mra.cpp b/protocols/ICQ-WIM/src/mra.cpp
index 0c1422ddab..cfe427a136 100644
--- a/protocols/ICQ-WIM/src/mra.cpp
+++ b/protocols/ICQ-WIM/src/mra.cpp
@@ -101,9 +101,7 @@ void CIcqProto::OnCheckMrimLogin(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *)
m_szSessionKey = data["sessionKey"].as_mstring();
- CMStringW szUin = data["loginId"].as_mstring();
- if (szUin)
- m_szOwnId = szUin;
+ SetOwnId(data["loginId"].as_mstring());
int srvTS = data["hostTime"].as_int();
m_iTimeShift = (srvTS) ? time(0) - srvTS : 0;