From 4e2962b39e76d37802a274c92c9bb4f1110b0d24 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 17 Sep 2013 13:32:52 +0000 Subject: [PATCH] Fix error when writing hostmask-collision error message. --- src/ircdb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ircdb.py b/src/ircdb.py index 0fcd7be83..60561f5cd 100644 --- a/src/ircdb.py +++ b/src/ircdb.py @@ -542,7 +542,8 @@ class IrcUserCreator(Creator): self.users.setUser(self.u) except DuplicateHostmask: log.error('Hostmasks for %s collided with another user\'s. ' - 'Resetting hostmasks for %s.', self.u.name) + 'Resetting hostmasks for %s.', + self.u.name, self.u.name) # Some might argue that this is arbitrary, and perhaps it is. # But we've got to do *something*, so we'll show some deference # to our lower-numbered users.