Software /
code /
prosody
Changeset
48:d0505310aec5
Use xmlns for matching auth tag too
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 04 Oct 2008 02:42:23 +0100 |
parents | 47:33ed4c6ac249 |
children | 49:1cd2a8db392d |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,