mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01: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>
This commit is contained in:
parent
c9329303d3
commit
9dccada152
@ -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…
Reference in New Issue
Block a user