Revert "its warntime, not wantime"
authorJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 16:17:14 +0000 (17:17 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 30 Dec 2008 16:17:14 +0000 (17:17 +0100)
This reverts commit 186cdb69f4f7ba0ee86b4d35efd838a098919ac9.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
Dak/plugin.py

index 58b4694..555710d 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.warntime:
+            if pdt <= self.warntime or ndt <= self.wantime:
                     log.debug("DAK: In Dinstall Warnframe")
                     msgMaker = ircmsgs.privmsg
                     if pdt <= self.dinstallduration: