summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/main.cpp')
-rw-r--r--protocols/WhatsApp/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp
index 93abf0bbc0..5d0697d998 100644
--- a/protocols/WhatsApp/src/main.cpp
+++ b/protocols/WhatsApp/src/main.cpp
@@ -74,7 +74,7 @@ extern "C" int __declspec(dllexport) Load(void)
pd.type = PROTOTYPE_PROTOCOL;
pd.fnInit = protoInit;
pd.fnUninit = protoUninit;
- CallService(MS_PROTO_REGISTERMODULE, 0, reinterpret_cast<LPARAM>(&pd));
+ Proto_RegisterModule(&pd);
InitIcons();
//InitContactMenus();