mod_stanza_counter/mod_stanza_counter_http.lua
changeset 437 78a2a6b2bea3
parent 436 e4a1f0425380
child 518 d4adda950546
--- 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"],