Changeset

4218:f917bb78ab67

mod_log_ringbuffer: Fix incorrect parameter name
author Matthew Wild <mwild1@gmail.com>
date Fri, 16 Oct 2020 18:40:29 +0100
parents 4217:983565f42063
children 4219:b3dd77f2d0d7
files mod_log_ringbuffer/mod_log_ringbuffer.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_log_ringbuffer/mod_log_ringbuffer.lua	Fri Oct 16 14:28:34 2020 +0100
+++ b/mod_log_ringbuffer/mod_log_ringbuffer.lua	Fri Oct 16 18:40:29 2020 +0100
@@ -74,7 +74,7 @@
 	if sink_config.signal then
 		require "util.signal".signal(sink_config.signal, dump);
 	elseif sink_config.event then
-		module:hook_global(sink_config.global_event, dump);
+		module:hook_global(sink_config.event, dump);
 	end
 
 	return function (name, level, message, ...)