summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-29 16:41:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-29 16:41:17 +0000
commit451c98173d83ee1618d7923890e803dd7067de40 (patch)
treeb747494401925ec184b45a6d22d24683d8b3e38f /plugins/TrafficCounter
parent82637f50c80f6b9b7dad3d3d49535bab277596aa (diff)
resource clearance moved to ME_SYSTEM_PRESHUTDOWN instead of ME_SYSTEM_OKTOEXIT
git-svn-id: http://svn.miranda-ng.org/main/trunk@5527 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp
index b1ca6dfffb..505a136068 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.cpp
+++ b/plugins/TrafficCounter/src/TrafficCounter.cpp
@@ -128,7 +128,7 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_SYSTEM_MODULESLOADED,TrafficCounterModulesLoaded);
HookEvent(ME_PROTO_ACK,ProtocolAckHook);
HookEvent(ME_PROTO_ACCLISTCHANGED, OnAccountsListChange);
- HookEvent(ME_SYSTEM_OKTOEXIT, TrafficCounterShutdown);
+ HookEvent(ME_SYSTEM_PRESHUTDOWN, TrafficCounterShutdown);
HookEvent(ME_SYSTEM_MODULELOAD, ModuleLoad);
HookEvent(ME_SYSTEM_MODULEUNLOAD, ModuleLoad);