diff options
Diffstat (limited to 'protocols/GTalkExt/handlers.cpp')
-rw-r--r-- | protocols/GTalkExt/handlers.cpp | 6 |
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);
}
|