summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/dllmain.cpp')
-rw-r--r--plugins/MirOTR/src/dllmain.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/MirOTR/src/dllmain.cpp b/plugins/MirOTR/src/dllmain.cpp
index 16ff5afaa8..e548c017dc 100644
--- a/plugins/MirOTR/src/dllmain.cpp
+++ b/plugins/MirOTR/src/dllmain.cpp
@@ -72,11 +72,7 @@ extern "C" __declspec(dllexport) int Load(void)
////////////////////////////////////////////////////////////////////////////
// init plugin
- PROTOCOLDESCRIPTOR pd = { 0 };
- pd.cbSize = sizeof(pd);
- pd.szName = MODULENAME;
- pd.type = PROTOTYPE_ENCRYPTION;
- Proto_RegisterModule(&pd);
+ Proto_RegisterModule(PROTOTYPE_ENCRYPTION, MODULENAME);
// remove us as a filter to all contacts - fix filter type problem
if(db_get_b(0, MODULENAME, "FilterOrderFix", 0) != 2) {