Sat, 04 Oct 2008 02:42:23 +0100
Use xmlns for matching auth tag too
plugins/mod_saslauth.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_saslauth.lua Sat Oct 04 02:40:47 2008 +0100 +++ b/plugins/mod_saslauth.lua Sat Oct 04 02:42:23 2008 +0100 @@ -16,7 +16,7 @@ local new_connhandler = require "net.connhandlers".new; local new_sasl = require "util.sasl".new; -add_handler("c2s_unauthed", "auth", +add_handler("c2s_unauthed", "auth", xmlns_sasl, function (session, stanza) if not session.sasl_handler then session.sasl_handler = new_sasl(stanza.attr.mechanism,