From 965f4e79b8732c5412bf140ba96674e9a6ecfa7c Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 16 Jul 2009 11:28:43 -0400 Subject: [PATCH] User: Fix hostmask.list to show the user's name not the repr user object Signed-off-by: James Vega (cherry picked from commit 9dccada152fb3d3b3bcb9eaa1b71c680d6106403) --- plugins/User/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index ad04768aa..a23228f78 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -254,7 +254,8 @@ class User(callbacks.Plugin): hostmasks.sort() return format('%L', hostmasks) else: - irc.reply(format('%s has no registered hostmasks.', user)) + irc.reply(format('%s has no registered hostmasks.', + user.name)) try: user = ircdb.users.getUser(msg.prefix) if name: