diff options
-rw-r--r-- | plugins/mod_announce.lua | 1 | ||||
-rw-r--r-- | plugins/mod_auth_internal_hashed.lua | 2 | ||||
-rw-r--r-- | plugins/mod_compression.lua | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | tools/xep227toprosody.lua | 0 |
4 files changed, 1 insertions, 3 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_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua index 4c9083aa..3007d565 100644 --- a/plugins/mod_auth_internal_hashed.lua +++ b/plugins/mod_auth_internal_hashed.lua @@ -138,7 +138,7 @@ function new_hashpass_provider(host) scram_sha_1 = function(username, realm) local credentials = datamanager.load(username, host, "accounts") or {}; if credentials.password then - usermanager.set_password(username, credentials.password); + usermanager.set_password(username, credentials.password, host); credentials = datamanager.load(username, host, "accounts") or {}; 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 |