summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-02-02 18:22:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-02-02 18:22:51 +0000
commitf62062dcc806794f5efc1167892f784d02df9fcd (patch)
tree4df55ad711f00b292cf66a37a975e606440edbdd /plugins/YAMN/src/main.cpp
parent516601cb8e909d4c32ef50b10d34e4dd0b467b46 (diff)
idiiotic bug fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@16216 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN/src/main.cpp')
-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