mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Fixed bug in list, was using .startswith instead of == for the plugin name.
This commit is contained in:
parent
3fb2795668
commit
1ddc5195d4
@ -111,7 +111,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
else:
|
||||
for cb in irc.callbacks:
|
||||
cls = cb.__class__
|
||||
if cb.name().lower().startswith(name) and \
|
||||
if cb.name().lower() == name and \
|
||||
not issubclass(cls, callbacks.PrivmsgRegexp) and \
|
||||
issubclass(cls, callbacks.Privmsg):
|
||||
commands = [x for x in dir(cls)
|
||||
|
Loading…
Reference in New Issue
Block a user