summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/handlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-07 12:50:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-07 12:50:40 +0000
commitc6fb861d7159279b6ee4a4dd678d4693ee56bac6 (patch)
treedf911e6eaf7bd944081aae96f5df9c2ef84c2476 /protocols/GTalkExt/handlers.cpp
parent95da57c8e9cf894adf3afae124a29d292b085c5e (diff)
death of old nasty clutch with MS_PROTO_ENUMPROTOCOLS & PROTOACCOUNT::type
git-svn-id: http://svn.miranda-ng.org/main/trunk@1799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/handlers.cpp')
-rw-r--r--protocols/GTalkExt/handlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/handlers.cpp b/protocols/GTalkExt/handlers.cpp
index 879e5ee820..7bd814a802 100644
--- a/protocols/GTalkExt/handlers.cpp
+++ b/protocols/GTalkExt/handlers.cpp
@@ -420,10 +420,10 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
DetectPopupModule();
int count;
- PROTOCOLDESCRIPTOR **protos;
- CallService(MS_PROTO_ENUMPROTOCOLS, (WPARAM)&count, (LPARAM)&protos);
+ PROTOACCOUNT **protos;
+ ProtoEnumAccounts(&count, &protos);
for (int i = 0; i < count; i++) {
- IJabberInterface *japi = getJabberApi(protos[i]->szName);
+ IJabberInterface *japi = getJabberApi(protos[i]->szModuleName);
if (japi) japi->Net()->AddSendHandler(SendHandler);
}