mod_xml_status: small cleanup.
--- a/mod_xml_status/mod_xml_status.lua Fri Jan 06 23:15:51 2012 +0000
+++ b/mod_xml_status/mod_xml_status.lua Fri Jan 06 23:43:52 2012 +0000
@@ -101,10 +101,7 @@
return response
end
-local function request(method, body, request)
- if not prosody.stanza_counter then
- local err500 = r_err:format("500", "Internal server error")
- return response(500, err500) end
+local function request(method, body, request)
if method == "GET" then
return response(200, forge_response())
else