summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/CaptchaTrader.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/CaptchaTrader.py')
-rw-r--r--module/plugins/hooks/CaptchaTrader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/CaptchaTrader.py b/module/plugins/hooks/CaptchaTrader.py
index f98b5fab0..de5831731 100644
--- a/module/plugins/hooks/CaptchaTrader.py
+++ b/module/plugins/hooks/CaptchaTrader.py
@@ -104,7 +104,7 @@ class CaptchaTrader(Hook):
if not self.getConfig("username") or not self.getConfig("passkey"):
return False
- if not (self.core.isClientConnected() and self.getConfig("force")):
+ if self.core.isClientConnected() and not self.getConfig("force"):
return False
if self.getCredits() > 10: