summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/vars.cpp
diff options
context:
space:
mode:
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);