summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/main.cpp')
-rw-r--r--protocols/VKontakte/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp
index e6ff1af0b9..7974618a9b 100644
--- a/protocols/VKontakte/src/main.cpp
+++ b/protocols/VKontakte/src/main.cpp
@@ -81,7 +81,7 @@ extern "C" int __declspec(dllexport) Load()
pd.fnInit = (pfnInitProto)vkProtoInit;
pd.fnUninit = (pfnUninitProto)vkProtoUninit;
pd.type = PROTOTYPE_PROTOCOL;
- CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
+ Proto_RegisterModule(&pd);
return 0;
}