mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 04:02:45 +01:00
classes: in Irc.runline(), return the parsed hook args after processing
This commit is contained in:
parent
375dbe8427
commit
fbf33e15a6
@ -334,6 +334,8 @@ class Irc():
|
|||||||
if hook_args is not None:
|
if hook_args is not None:
|
||||||
self.callHooks(hook_args)
|
self.callHooks(hook_args)
|
||||||
|
|
||||||
|
return hook_args
|
||||||
|
|
||||||
def callHooks(self, hook_args):
|
def callHooks(self, hook_args):
|
||||||
"""Calls a hook function with the given hook args."""
|
"""Calls a hook function with the given hook args."""
|
||||||
numeric, command, parsed_args = hook_args
|
numeric, command, parsed_args = hook_args
|
||||||
|
Loading…
Reference in New Issue
Block a user