Fixed User.list.

This commit is contained in:
Jeremy Fincher 2004-02-02 08:24:48 +00:00
parent 51a4db1a6c
commit 84b0295e80

View File

@ -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))