summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/main.cpp')
-rw-r--r--plugins/CryptoPP/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp
index 8cb9bfa2b9..ebd54b4e21 100644
--- a/plugins/CryptoPP/src/main.cpp
+++ b/plugins/CryptoPP/src/main.cpp
@@ -57,7 +57,7 @@ extern "C" __declspec(dllexport) int Load()
pd.cbSize = sizeof(pd);
pd.szName = (char*)szModuleName;
pd.type = PROTOTYPE_ENCRYPTION;
- CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
+ Proto_RegisterModule(&pd);
// hook events
HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);