mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Added an assert to make sure findCallbacksForArgs is used correctly.
This commit is contained in:
parent
e926198c8f
commit
9327be4b59
@ -620,6 +620,7 @@ class IrcObjectProxy(RichReplyMethods):
|
||||
def findCallbacksForArgs(self, args):
|
||||
"""Returns a two-tuple of (command, plugins) that has the command
|
||||
(a list of strings) and the plugins for which it was a command."""
|
||||
assert isinstance(args, list)
|
||||
cbs = []
|
||||
maxL = []
|
||||
for cb in self.irc.callbacks:
|
||||
|
Loading…
Reference in New Issue
Block a user