Software /
code /
prosody
Changeset
3214:a69d8021b1db
Merge with Tobias.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 09 Jun 2010 21:34:32 +0500 |
parents | 3204:7a15cbf23c5b (diff) 3213:c85bba8bd41a (current diff) |
children | 3215:e55782f20679 |
files | plugins/mod_auth_internal_hashed.lua |
diffstat | 3 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_announce.lua Wed Jun 09 17:58:20 2010 +0200 +++ b/plugins/mod_announce.lua Wed Jun 09 21:34:32 2010 +0500 @@ -22,7 +22,6 @@ 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
--- a/plugins/mod_auth_internal_hashed.lua Wed Jun 09 17:58:20 2010 +0200 +++ b/plugins/mod_auth_internal_hashed.lua Wed Jun 09 21:34:32 2010 +0500 @@ -138,7 +138,7 @@ 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
--- a/plugins/mod_compression.lua Wed Jun 09 17:58:20 2010 +0200 +++ b/plugins/mod_compression.lua Wed Jun 09 21:34:32 2010 +0500 @@ -96,7 +96,6 @@ -- 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({