summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-18 14:45:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-18 14:45:04 +0000
commita3385262c10d49a477e1e071a44ebdfd8e4b7d24 (patch)
tree5f5bdfc4b4cefd0cd71ce692e9ffa83d1b26b816 /plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h
parent0da1d99c8ecda784b14ade348897096dc43a65b4 (diff)
fix: AAA crashes another programs when global hooks are active
git-svn-id: http://svn.miranda-ng.org/main/trunk@2355 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h')
-rw-r--r--plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h
index 5820a5f85c..e9b2565466 100644
--- a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h
+++ b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h
@@ -80,11 +80,11 @@ struct AAMSGSETTING
char* msg;
};
-extern HINSTANCE hInst;
+extern HINSTANCE hInst, hCore;
int CompareSettings( const TAAAProtoSetting* p1, const TAAAProtoSetting* p2 );
-extern OBJLIST<TAAAProtoSetting> autoAwaySettings;
+extern OBJLIST<TAAAProtoSetting> *autoAwaySettings;
int LoadAutoAwaySetting(TAAAProtoSetting& autoAwaySetting, char* protoName);
void LoadOptions(OBJLIST<TAAAProtoSetting>& settings, BOOL override);