diff options
Diffstat (limited to 'plugins/StatusManager/src/main.cpp')
-rw-r--r-- | plugins/StatusManager/src/main.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/plugins/StatusManager/src/main.cpp b/plugins/StatusManager/src/main.cpp index 5996a200c6..b44f9ba773 100644 --- a/plugins/StatusManager/src/main.cpp +++ b/plugins/StatusManager/src/main.cpp @@ -19,22 +19,11 @@ #include "stdafx.h" -HINSTANCE hInst; -int hLangpack = 0; +int hLangpack; +CMPlugin g_plugin; CLIST_INTERFACE *pcli; ///////////////////////////////////////////////////////////////////////////////////////// -// dll entry point - -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID) -{ - if (fdwReason == DLL_PROCESS_ATTACH) - hInst = hinstDLL; - - return TRUE; -} - -///////////////////////////////////////////////////////////////////////////////////////// // returns plugin's extended information PLUGININFOEX pluginInfoEx = { @@ -81,8 +70,6 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_OPT_INITIALISE, OnCommonOptionsInit); - //////////////////////////////////////////////////////////////////////////////////////// - for (auto &pa : Accounts()) if (IsSuitableProto(pa)) protoList.insert(new SMProto(pa)); |