# HG changeset patch # User Marco Cirillo # Date 1325893432 0 # Node ID a9cd75cc9563c6a27a8839326f3cc1a85d8b97d3 # Parent ff3ea8735d61c88644ddd614aa3913da1177153e mod_xml_status: small cleanup. diff -r ff3ea8735d61 -r a9cd75cc9563 mod_xml_status/mod_xml_status.lua --- 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