mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Fixed User.list.
This commit is contained in:
parent
51a4db1a6c
commit
84b0295e80
@ -71,7 +71,7 @@ class User(callbacks.Privmsg):
|
||||
else:
|
||||
def p(s):
|
||||
return True
|
||||
users = [u.name for u in ircdb.users if p(u.name)]
|
||||
users = [u.name for u in ircdb.users.itervalues() if p(u.name)]
|
||||
if users:
|
||||
utils.sortBy(str.lower, users)
|
||||
irc.reply(utils.commaAndify(users))
|
||||
|
Loading…
Reference in New Issue
Block a user