mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Changed list command to use cb.name() instead of cb.__class__.__name__.
This commit is contained in:
parent
43ae9188b5
commit
e4591e3d57
@ -52,8 +52,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
name = privmsgs.getArgs(args, needed=0, optional=1)
|
||||
name = name.lower()
|
||||
if not name:
|
||||
names = [cb.__class__.__name__
|
||||
for cb in irc.callbacks
|
||||
names = [cb.name() for cb in irc.callbacks
|
||||
if hasattr(cb, 'public') and cb.public]
|
||||
names.sort()
|
||||
irc.reply(msg, ', '.join(names))
|
||||
|
Loading…
Reference in New Issue
Block a user