3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

classes: in Irc.runline(), return the parsed hook args after processing

This commit is contained in:
James Lu 2015-12-22 10:46:34 -08:00
parent 375dbe8427
commit fbf33e15a6

View File

@ -334,6 +334,8 @@ class Irc():
if hook_args is not None:
self.callHooks(hook_args)
return hook_args
def callHooks(self, hook_args):
"""Calls a hook function with the given hook args."""
numeric, command, parsed_args = hook_args