diff options
-rw-r--r-- | plugins/mod_announce.lua | 1 | ||||
-rw-r--r-- | plugins/mod_compression.lua | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | tools/xep227toprosody.lua | 0 |
3 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_announce.lua b/plugins/mod_announce.lua index 7f08a6e0..d3017f6c 100644 --- a/plugins/mod_announce.lua +++ b/plugins/mod_announce.lua @@ -22,7 +22,6 @@ function handle_announcement(data) if not is_admin(stanza.attr.from) then -- Not an admin? Not allowed! module:log("warn", "Non-admin %s tried to send server announcement", tostring(jid.bare(stanza.attr.from))); - origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); return; end diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index 0e1aab8c..689a322f 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -96,7 +96,6 @@ end -- setup compression for a stream local function setup_compression(session, deflate_stream) add_filter(session, "bytes/out", function(t) - session.log(t) local status, compressed, eof = pcall(deflate_stream, tostring(t), 'sync'); if status == false then session:close({ diff --git a/tools/xep227toprosody.lua b/tools/xep227toprosody.lua index 313b2194..313b2194 100644..100755 --- a/tools/xep227toprosody.lua +++ b/tools/xep227toprosody.lua |