From ce13d035ed744c6df6c150efef785e8c3ce66de9 Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Sun, 12 Sep 2010 11:32:52 +0200
Subject: speedmanager time fix

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

(limited to 'module/SpeedManager.py')

diff --git a/module/SpeedManager.py b/module/SpeedManager.py
index e0ce05586..44d59dad4 100644
--- a/module/SpeedManager.py
+++ b/module/SpeedManager.py
@@ -54,7 +54,7 @@ class SpeedManager(Thread):
 
     def manageSpeed(self):
         maxSpeed = self.getMaxSpeed()
-        if maxSpeed <= 0 or self.core.compare_time(self.hook.getConfig("start").split(":"),
+        if maxSpeed <= 0 or not self.core.compare_time(self.hook.getConfig("start").split(":"),
                                                    self.hook.getConfig("end").split(":")):
             for pyfile in [x.active for x in self.core.threadManager.threads if x.active and x.active != "quit"]:
                 pyfile.plugin.req.speedLimitActive = False
-- 
cgit v1.2.3