log_hooks: fix returning the module

This commit is contained in:
Wez Furlong
2023-11-06 09:50:25 -07:00
parent 1c25c0a59b
commit ac7ef32cd3
+3 -1
View File
@@ -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