mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 04:51:06 -05:00
User: Fix hostmask.list to show the user's name not the repr user object
Signed-off-by: James Vega <jamessan@users.sourceforge.net> (cherry picked from commit 9dccada152fb3d3b3bcb9eaa1b71c680d6106403)
This commit is contained in:
parent
7aeedea6f6
commit
965f4e79b8
@ -254,7 +254,8 @@ class User(callbacks.Plugin):
|
|||||||
hostmasks.sort()
|
hostmasks.sort()
|
||||||
return format('%L', hostmasks)
|
return format('%L', hostmasks)
|
||||||
else:
|
else:
|
||||||
irc.reply(format('%s has no registered hostmasks.', user))
|
irc.reply(format('%s has no registered hostmasks.',
|
||||||
|
user.name))
|
||||||
try:
|
try:
|
||||||
user = ircdb.users.getUser(msg.prefix)
|
user = ircdb.users.getUser(msg.prefix)
|
||||||
if name:
|
if name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user