comparison mod_statistics_statsman/mod_statistics_statsman.lua @ 3170:c7773ea263d0

mod_statistics_statsman: Remove duplicate import [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 02 Jul 2018 22:45:30 +0200
parents 5d58bdbfe024
children 3a06b0b6ba67
comparison
equal deleted inserted replaced
3169:5d58bdbfe024 3170:c7773ea263d0
114 } 114 }
115 rawset(t, k, v); 115 rawset(t, k, v);
116 return v; 116 return v;
117 end 117 end
118 }); 118 });
119 local filters = require "util.filters";
120 local function handle_stanza_in(stanza, session) 119 local function handle_stanza_in(stanza, session)
121 local s = active_sessions[session].stanzas_in; 120 local s = active_sessions[session].stanzas_in;
122 local n = s[stanza.name]; 121 local n = s[stanza.name];
123 if n then 122 if n then
124 s[stanza.name] = n + 1; 123 s[stanza.name] = n + 1;