# HG changeset patch # User Marco Cirillo # Date 1316561503 0 # Node ID 78a2a6b2bea39ad7e884fa3e981c83d14fb4e547 # Parent e4a1f042538089c0104eaf70b97ff7d05f32985e mod_stanza_counter: missing end. diff -r e4a1f0425380 -r 78a2a6b2bea3 mod_stanza_counter/mod_stanza_counter_http.lua --- a/mod_stanza_counter/mod_stanza_counter_http.lua Tue Sep 20 23:16:32 2011 +0000 +++ b/mod_stanza_counter/mod_stanza_counter_http.lua Tue Sep 20 23:31:43 2011 +0000 @@ -26,7 +26,7 @@ local function req(method, body, request) if not prosody.stanza_counter then local err500 = r_err:format("500", "Stats not found, is the counter module loaded?") - return res(500, err500) + return res(500, err500) end if method == "GET" then local forge_res = r_200:format(prosody.stanza_counter.iq["incoming"], prosody.stanza_counter.iq["outgoing"],