summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/vars.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-22 06:00:37 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-22 06:00:37 +0000
commit9e6c3815ca6078dc49213abe6d28d5b2faaf024e (patch)
treebad27fbe21a0602c3bc6e8a3c61112d63f422d8e /plugins/TrafficCounter/src/vars.cpp
parent8ebcd3f22585af1c4e3cd11e8753e62ca6d448b5 (diff)
hooking loading/unloading plugin events
git-svn-id: http://svn.miranda-ng.org/main/trunk@3681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter/src/vars.cpp')
-rw-r--r--plugins/TrafficCounter/src/vars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/vars.cpp b/plugins/TrafficCounter/src/vars.cpp
index bca68d5569..d74ac6e59d 100644
--- a/plugins/TrafficCounter/src/vars.cpp
+++ b/plugins/TrafficCounter/src/vars.cpp
@@ -168,7 +168,7 @@ void RegisterVariablesTokens(void)
{
TOKENREGISTER trs;
- if (!ServiceExists(MS_VARS_REGISTERTOKEN)) return;
+ if (!bVariablesExists) return;
ZeroMemory(&trs, sizeof(trs));
trs.cbSize = sizeof(TOKENREGISTER);