Changeset

527:caf28c2c56a1

mod_xml_status: re-removed http response function wrong code (self note: make sure what you're copy&pasting from the local notepad is fully correct)
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 07 Jan 2012 00:37:35 +0000
parents 526:0529658efd1e
children 528:1737c08fde30
files mod_xml_status/mod_xml_status.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mod_xml_status/mod_xml_status.lua	Sat Jan 07 00:29:06 2012 +0000
+++ b/mod_xml_status/mod_xml_status.lua	Sat Jan 07 00:37:35 2012 +0000
@@ -101,9 +101,6 @@
 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
 	if method == "GET" then
 		return response(200, forge_response())
 	else