diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-11 19:41:29 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-11 19:41:29 +0100 |
commit | 04b22f6e94b579db076317777a63a72cf01e9499 (patch) | |
tree | 2add86e9d4bc65a92e02db50e522cfe776067aa4 | |
parent | fc94fd57daf8d494d397e33d0d648844744bb727 (diff) |
tracking: Prefix conflict message with nick instead of target.
-rw-r--r-- | modules/tracking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracking.py b/modules/tracking.py index 4578a3f..3533ee9 100644 --- a/modules/tracking.py +++ b/modules/tracking.py @@ -322,7 +322,7 @@ class Module: # assume several packets within the same consignment was added as a consignment session.rollback() removed = True - self.irc.msg(target, '%s: \002%s\002 conflicts with another consignment' % (target, data[0])) + self.irc.msg(target, '%s: \002%s\002 conflicts with another consignment' % (consignment.nick.encode('utf-8'), data[0])) break package = session.query(Package).filter(and_(Package.consignment_id == consignment.id, Package.code == data[0])).one() |