diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-02 19:38:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-02 19:38:44 +0000 |
commit | 8fecb411c56387ef6db40abe96b8c935fddc6083 (patch) | |
tree | 3aee9abef3610ab248bba34af1bd4878038d130f /protocols/JabberG/src/jabber_api.cpp | |
parent | f7e58cf1bf50928ae22ffbdd9de99844407d5780 (diff) |
atavism extincted: old nasty IQ handler mechanism
git-svn-id: http://svn.miranda-ng.org/main/trunk@6312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_api.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_api.cpp b/protocols/JabberG/src/jabber_api.cpp index 015c76fb58..7838260aec 100644 --- a/protocols/JabberG/src/jabber_api.cpp +++ b/protocols/JabberG/src/jabber_api.cpp @@ -179,7 +179,7 @@ HJHANDLER CJabberProto::AddTemporaryIqHandler(JABBER_HANDLER_FUNC Func, int iIqT sHandlerData *d = (sHandlerData*)malloc(sizeof(sHandlerData));
d->Func = Func;
d->pUserData = pUserData;
- CJabberIqInfo *pInfo = m_iqManager.AddHandler(&CJabberProto::ExternalTempIqHandler, iIqTypes, NULL, 0, iIqId, d, iPriority);
+ CJabberIqInfo *pInfo = AddIQ(&CJabberProto::ExternalTempIqHandler, iIqTypes, NULL, 0, iIqId, d, iPriority);
if (pInfo && dwTimeout > 0)
pInfo->SetTimeout(dwTimeout);
return (HJHANDLER)pInfo;
|