From 2b33c92b70faa7ccec7e09bff54eecd2ad533092 Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Wed, 9 Feb 2011 19:54:54 +0100
Subject: captcha trader fix

---
 module/plugins/hooks/CaptchaTrader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'module/plugins')

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:
-- 
cgit v1.2.3