Software /
code /
prosody-modules
Diff
mod_conformance_restricted/mod_conformance_restricted.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parent | 699:7c88e09a07e7 |
line wrap: on
line diff
--- a/mod_conformance_restricted/mod_conformance_restricted.lua Mon Mar 10 08:22:58 2014 +0000 +++ b/mod_conformance_restricted/mod_conformance_restricted.lua Tue Mar 11 18:44:01 2014 +0100 @@ -1,6 +1,6 @@ -- Prosody IM -- Copyright (C) 2012 Florian Zeitz --- +-- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- @@ -12,7 +12,7 @@ local origin, stanza = event.origin, event.stanza; local node, host, resource = jid.split(stanza.attr.to); local body = stanza:get_child_text("body"); - + if resource ~= "conformance" then return; -- Not interop testing end @@ -30,6 +30,6 @@ reply:body("Send me one of: PI, comment, DTD, or entity"); origin.send(reply); end - + return true; end);