summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-20 10:51:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-20 10:51:35 +0000
commit2fe00cdd66d4559cc43a5f27c19ddc79a43676eb (patch)
tree546def30affbabeaad425c9a25e2545e1e4096f5 /protocols/JabberG/src/jabber_proto.cpp
parentf946ebcb1ac09b7220f8547074496aa2d1b83768 (diff)
- all manual list locks removed;
- ListExists removed and replaced with ListGetItemPtr; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index c8af871226..fa3434d260 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -1169,7 +1169,7 @@ int __cdecl CJabberProto::SendMsg(HANDLE hContact, int flags, const char* pszSrc
return 0;
TCHAR *msgType;
- if (ListExist(LIST_CHATROOM, ptszJid) && _tcschr(ptszJid, '/') == NULL)
+ if (ListGetItemPtr(LIST_CHATROOM, ptszJid) && _tcschr(ptszJid, '/') == NULL)
msgType = _T("groupchat");
else
msgType = _T("chat");