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, 0 insertions, 6 deletions
diff --git a/plugins/MirOTR/src/dllmain.cpp b/plugins/MirOTR/src/dllmain.cpp
index 643ffea251..2b3bd3d31a 100644
--- a/plugins/MirOTR/src/dllmain.cpp
+++ b/plugins/MirOTR/src/dllmain.cpp
@@ -33,11 +33,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
int ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
- InitUtils();
-
lib_cs_lock();
otr_user_state = otrl_userstate_create();
- lib_cs_unlock();
// this calls ReadPrivkeyFiles (above) to set filename values (also called on ME_FOLDERS_PATH_CHANGED)
InitOptions();
@@ -112,9 +109,6 @@ extern "C" __declspec(dllexport) int Unload(void)
lib_cs_lock();
otrl_userstate_free(otr_user_state);
- lib_cs_unlock();
-
- DeinitUtils();
return 0;
}