--- a/plugins/mod_saslauth.lua Wed Jan 05 03:03:01 2011 +0000 +++ b/plugins/mod_saslauth.lua Wed Jan 05 03:03:40 2011 +0000 @@ -66,7 +66,7 @@ end local function sasl_process_cdata(session, stanza) - local text = stanza[1]; + local text = stanza:get_text(); if text then text = base64.decode(text); --log("debug", "AUTH: %s", text:gsub("[%z\001-\008\011\012\014-\031]", " "));