diff options
Diffstat (limited to 'protocols/Icq10/src/utils.cpp')
-rw-r--r-- | protocols/Icq10/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Icq10/src/utils.cpp b/protocols/Icq10/src/utils.cpp index 49c9ad0d03..f745387742 100644 --- a/protocols/Icq10/src/utils.cpp +++ b/protocols/Icq10/src/utils.cpp @@ -24,7 +24,7 @@ void CIcqProto::InitContactCache() { mir_cslock l(m_csCache); for (auto &it : AccContacts()) - m_arCache.insert(new IcqCacheItem(getDword(it, "UIN"), it)); + m_arCache.insert(new IcqCacheItem(getDword(it, DB_KEY_UIN), it)); } IcqCacheItem* CIcqProto::FindContactByUIN(DWORD dwUin) @@ -41,7 +41,7 @@ MCONTACT CIcqProto::CreateContact(DWORD dwUin, bool bTemporary) MCONTACT hContact = db_add_contact(); Proto_AddToContact(hContact, m_szModuleName); - setDword(hContact, "UIN", dwUin); + setDword(hContact, DB_KEY_UIN, dwUin); pCache = new IcqCacheItem(dwUin, hContact); { mir_cslock l(m_csCache); |