aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-04 02:42:23 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-04 02:42:23 +0100
commit459665b3680dde4ab4ef65d067139d7d132d96ff (patch)
tree504aae5b3f0af0cbbfed1293b3941cdda7350065 /plugins
parent30f0f7372bd4cf3fd4d60f41c2aa04e436545d97 (diff)
downloadprosody-459665b3680dde4ab4ef65d067139d7d132d96ff.tar.gz
prosody-459665b3680dde4ab4ef65d067139d7d132d96ff.zip
Use xmlns for matching auth tag too
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index 7eed8f35..06bd510b 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -16,7 +16,7 @@ local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas';
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,