Software /
code /
prosody
Comparison
plugins/mod_saslauth.lua @ 4754:449a78f91f0e
mod_saslauth: Remove unused declaration of xmlns_stanzas
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 03:05:35 +0100 |
parent | 4506:6643c9753453 |
child | 4939:0545a574667b |
comparison
equal
deleted
inserted
replaced
4753:142e21f6bf8e | 4754:449a78f91f0e |
---|---|
24 | 24 |
25 local log = module._log; | 25 local log = module._log; |
26 | 26 |
27 local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl'; | 27 local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl'; |
28 local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; | 28 local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; |
29 local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; | |
30 | 29 |
31 local function build_reply(status, ret, err_msg) | 30 local function build_reply(status, ret, err_msg) |
32 local reply = st.stanza(status, {xmlns = xmlns_sasl}); | 31 local reply = st.stanza(status, {xmlns = xmlns_sasl}); |
33 if status == "challenge" then | 32 if status == "challenge" then |
34 --log("debug", "CHALLENGE: %s", ret or ""); | 33 --log("debug", "CHALLENGE: %s", ret or ""); |