mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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>
(cherry picked from commit 9dccada152
)
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…
Reference in New Issue
Block a user