diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h | 2 | ||||
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h index 984069e6a3..4a96da2544 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h +++ b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h @@ -80,7 +80,7 @@ struct AAMSGSETTING char* msg;
};
-extern HINSTANCE hInst, hCore;
+extern HINSTANCE hInst;
int CompareSettings( const TAAAProtoSetting *p1, const TAAAProtoSetting *p2 );
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index ccc77eacb4..3488a7b2fc 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -24,7 +24,7 @@ #include "advancedautoaway.h"
#include "../resource.h"
-HINSTANCE hInst, hCore = NULL;
+HINSTANCE hInst;
CLIST_INTERFACE *pcli;
HANDLE hCSModuleLoadedHook;
@@ -38,10 +38,9 @@ int CSModuleLoaded(WPARAM wParam, LPARAM lParam); BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
{
- if (fdwReason == DLL_PROCESS_ATTACH) {
+ if (fdwReason == DLL_PROCESS_ATTACH)
hInst = hinstDLL;
- hCore = GetModuleHandleA("mir_core.dll");
- }
+
return TRUE;
}
|