summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/AdvancedAutoAway/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-20 11:33:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-20 11:33:17 +0000
commite110389857a42787e6cd590369d5605c9bf5599f (patch)
tree27f1aa749830ff9016e02924fc4966c31509e671 /plugins/StatusPlugins/AdvancedAutoAway/main.cpp
parent27c79d422f3f22c793d5a3c66ba5bd5bbed1f80f (diff)
another strange perversion removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/AdvancedAutoAway/main.cpp')
-rw-r--r--plugins/StatusPlugins/AdvancedAutoAway/main.cpp7
1 files changed, 3 insertions, 4 deletions
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;
}