its warntime, not wantime
authorJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 16:01:31 +0000 (17:01 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 16:01:31 +0000 (17:01 +0100)
Dak/plugin.py

index 555710d..58b4694 100644 (file)
@@ -57,7 +57,7 @@ class Dak(callbacks.Plugin):
                 if lastdinstall == None or ldt < lastdinstall:
                     lastdinstall = ldt
 
-            if pdt <= self.warntime or ndt <= self.wantime:
+            if pdt <= self.warntime or ndt <= self.warntime:
                     log.debug("DAK: In Dinstall Warnframe")
                     msgMaker = ircmsgs.privmsg
                     if pdt <= self.dinstallduration: