Plugin: Remove duplicate !list command

It also exists in Misc.
This commit is contained in:
nyuszika7h 2014-03-16 14:12:53 +01:00
parent 77e6de6bba
commit 1a7e584a53

View File

@ -57,17 +57,6 @@ class Plugin(callbacks.Plugin):
irc.reply(_('That plugin is loaded, but has no plugin help.')) irc.reply(_('That plugin is loaded, but has no plugin help.'))
help = wrap(help, ['plugin']) help = wrap(help, ['plugin'])
@internationalizeDocstring
def list(self, irc, msg, args):
"""takes no arguments
Returns a list of the currently loaded plugins.
"""
L = [cb.name() for cb in irc.callbacks]
L.sort()
irc.reply(format('%L', L))
list = wrap(list)
@internationalizeDocstring @internationalizeDocstring
def plugin(self, irc, msg, args, command): def plugin(self, irc, msg, args, command):
"""<command> """<command>