From ac7ef32cd346341d23a690700a97ad0c62ce5f69 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 6 Nov 2023 09:50:25 -0700 Subject: [PATCH] log_hooks: fix returning the module --- assets/policy-extras/log_hooks.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/policy-extras/log_hooks.lua b/assets/policy-extras/log_hooks.lua index 09687d13..72da36c4 100644 --- a/assets/policy-extras/log_hooks.lua +++ b/assets/policy-extras/log_hooks.lua @@ -44,7 +44,7 @@ log_hooks:new { kumo.reject(500, disposition) end return connection - end) + end, } ]] @@ -108,3 +108,5 @@ function mod:new(options) -- And connect up the constructor event to the user-provided constructor kumo.on(constructor_name, options.constructor) end + +return mod