From fbf33e15a6082af8dae1a81f0762fe28209e48d1 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 22 Dec 2015 10:46:34 -0800 Subject: [PATCH] classes: in Irc.runline(), return the parsed hook args after processing --- classes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes.py b/classes.py index ed60716..b78cc06 100644 --- a/classes.py +++ b/classes.py @@ -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