summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/YAMN/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp
index c5df153172..16cbee69d9 100644
--- a/plugins/YAMN/src/main.cpp
+++ b/plugins/YAMN/src/main.cpp
@@ -260,6 +260,7 @@ static void LoadPlugins()
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
+ mir_getCLI();
YAMN_STATUS = ID_STATUS_OFFLINE;
@@ -369,9 +370,6 @@ static void UnloadPlugins()
extern "C" int __declspec(dllexport) Unload(void)
{
- mir_getLP(&pluginInfo);
- mir_getCLI();
-
#ifdef _DEBUG
UnInitDebug();
#endif