diff -r 0ae065453dc9 -r 7dbde05b48a9 mod_statistics/mod_statistics.lua --- a/mod_statistics/mod_statistics.lua Mon Mar 10 08:22:58 2014 +0000 +++ b/mod_statistics/mod_statistics.lua Tue Mar 11 18:44:01 2014 +0100 @@ -54,7 +54,7 @@ -- Handle statistics provided by other modules local function item_handlers(host) host = host and (host.."/") or ""; - + return function (event) -- Added local stats = event.item.statistics; local group = host..(stats.name and (stats.name.."::") or ""); @@ -117,7 +117,7 @@ end return 1; end); - + end function module.unload() filters.remove_filter_hook(stats.filter_hook);