mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Fixed stupid bug.
This commit is contained in:
parent
0e505d89e1
commit
a861941626
@ -59,7 +59,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
else:
|
||||
for cb in irc.callbacks:
|
||||
cls = cb.__class__
|
||||
if cls.name().lower().startswith(name) and \
|
||||
if cb.name().lower().startswith(name) and \
|
||||
not issubclass(cls, callbacks.PrivmsgRegexp) and \
|
||||
issubclass(cls, callbacks.Privmsg):
|
||||
commands = [x for x in cls.__dict__
|
||||
|
Loading…
Reference in New Issue
Block a user