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