mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
make Misc.apropos return plugin name even if command is in only one plugin.
This commit is contained in:
parent
2bb3ba9443
commit
a819c5b496
@ -170,9 +170,6 @@ class Misc(callbacks.Plugin):
|
||||
if s in command:
|
||||
commands.setdefault(command, []).append(cb.name())
|
||||
for (key, names) in commands.iteritems():
|
||||
if len(names) == 1:
|
||||
L.append(key)
|
||||
else:
|
||||
for name in names:
|
||||
L.append('%s %s' % (name, key))
|
||||
if L:
|
||||
|
Loading…
Reference in New Issue
Block a user