summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2012-09-12 20:44:10 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2012-09-12 20:44:10 +0200
commit08249697d409ed1814617bd030c942eff74a0808 (patch)
tree31c3d9ebd634adc509e5a5d0d9ee68241f804691 /modules
parent716dedfe638c414af8619ec76b860644b9b6e43c (diff)
tracking: Always announce delivered packages.
Diffstat (limited to 'modules')
-rw-r--r--modules/tracking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py
index 0e5ab5a..1a7b300 100644
--- a/modules/tracking.py
+++ b/modules/tracking.py
@@ -449,7 +449,7 @@ class Module:
package.last = last
package.status = desc
session.add(package)
- if announce:
+ if announce or removed:
self.irc.msg(target, msg)
elif package.last != None and package.last < datetime.datetime.utcnow() - datetime.timedelta(hours = 24*30):
msg = '%s: Removing stale package %s' % (consignment.nick.encode('utf-8'), consignment)