Software /
code /
prosody-modules
Diff
mod_stanza_counter/mod_stanza_counter.lua @ 433:967757965dbd
mod_stanza_counter: tidbits, line break escapes.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 20 Sep 2011 21:21:06 +0000 |
parent | 432:23a6289a00bd |
child | 434:ac4a6cc5776c |
line wrap: on
line diff
--- a/mod_stanza_counter/mod_stanza_counter.lua Tue Sep 20 21:15:29 2011 +0000 +++ b/mod_stanza_counter/mod_stanza_counter.lua Tue Sep 20 21:21:06 2011 +0000 @@ -27,7 +27,7 @@ <strong>Outgoing Presences</strong>: %d<p>\n </body>\n \n -</html>" +</html>\n" local r_405 = "\n <html>\n @@ -39,7 +39,8 @@ <body>\n <h3>Bad Method ... I only support GET.</h3>\n </body>\n -\n" +\n +</html>\n" local function res(code, r, h) local response = {