Changeset

2173:d15df55f0a63

mod_log_mark: Make a global module (should only be loaded once anyways)
author Kim Alvefur <zash@zash.se>
date Sun, 08 May 2016 16:57:44 +0200
parents 2172:a347b71adb07
children 2174:7be158b3376f
files mod_log_mark/mod_log_mark.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_log_mark/mod_log_mark.lua	Sat May 07 13:38:43 2016 +0200
+++ b/mod_log_mark/mod_log_mark.lua	Sun May 08 16:57:44 2016 +0200
@@ -1,3 +1,5 @@
+module:set_global();
+
 local log = _G.log;
 
 module:add_timer(60-os.date("%S"), function ()