diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-13 15:08:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-13 15:08:47 +0000 |
commit | fdc5bdfae8a4a70cfd91ec0a8554005a3c0bbae2 (patch) | |
tree | 8218d1ecb0d5306907f8809bd0b714126c28e675 /protocols/JabberG/src/jabber_misc.cpp | |
parent | e3a9aa77869d8175d8a8483be6f1a976b5c0e1c4 (diff) |
sorted lists are used now in Jabber instead of linear database lookup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16642 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 44e491f1fd..e0ed5736e2 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -55,7 +55,7 @@ void JabberChatDllError() void CJabberProto::DBAddAuthRequest(const TCHAR *jid, const TCHAR *nick)
{
- MCONTACT hContact = DBCreateContact(jid, nick, TRUE, TRUE);
+ MCONTACT hContact = DBCreateContact(jid, nick, true, true);
delSetting(hContact, "Hidden");
T2Utf szJid(jid);
@@ -85,7 +85,7 @@ void CJabberProto::DBAddAuthRequest(const TCHAR *jid, const TCHAR *nick) ///////////////////////////////////////////////////////////////////////////////
// JabberDBCreateContact()
-MCONTACT CJabberProto::DBCreateContact(const TCHAR *jid, const TCHAR *nick, BOOL temporary, BOOL stripResource)
+MCONTACT CJabberProto::DBCreateContact(const TCHAR *jid, const TCHAR *nick, bool temporary, bool stripResource)
{
if (jid == NULL || jid[0] == '\0')
return NULL;
|