Changeset

437:78a2a6b2bea3

mod_stanza_counter: missing end.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 20 Sep 2011 23:31:43 +0000
parents 436:e4a1f0425380
children 438:7f0cdde1e42a
files mod_stanza_counter/mod_stanza_counter_http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"],