From 04b22f6e94b579db076317777a63a72cf01e9499 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 11 Jan 2011 19:41:29 +0100 Subject: tracking: Prefix conflict message with nick instead of target. --- modules/tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3