# HG changeset patch # User Tobias Markmann # Date 1246813186 -7200 # Node ID 80e4f1d731c2ee0053708c0f19c9f4efc4ce3dbe # Parent 6a90316a81c342f89c8e396bf7b279e0dfabc91b Fixed decoding of parameters. diff -r 6a90316a81c3 -r 80e4f1d731c2 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Wed Jul 01 15:14:44 2009 +0200 +++ b/plugins/mod_saslauth.lua Sun Jul 05 18:59:46 2009 +0200 @@ -72,7 +72,7 @@ if mechanism == "PLAIN" then return func, password; elseif mechanism == "DIGEST-MD5" then - if decoder then node, hostname, password = decoder(node), decoder(hostname), decoder(password); end + if decoder then node, realm, password = decoder(node), decoder(realm), decoder(password); end return func, md5(node..":"..realm..":"..password); end end