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