diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-10-04 02:14:11 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-10-04 02:14:11 +0100 |
commit | c98dd482dfe935778a02ef02cc6e2be9f6ac2d91 (patch) | |
tree | a023968f2172fb991f3a84d4637c43c4aa126b8f | |
parent | f6924a64c06b36b6d90b03137da8c1a682889285 (diff) | |
download | prosody-c98dd482dfe935778a02ef02cc6e2be9f6ac2d91.tar.gz prosody-c98dd482dfe935778a02ef02cc6e2be9f6ac2d91.zip |
Small fix for sending stanzas in case of resource binding error
-rw-r--r-- | plugins/mod_legacyauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua index 7a205e5b..8ac10bd4 100644 --- a/plugins/mod_legacyauth.lua +++ b/plugins/mod_legacyauth.lua @@ -38,7 +38,7 @@ add_iq_handler("c2s_unauthed", "jabber:iq:auth", reply:tag("error", { code = "401", type = "auth" }) :tag("not-authorized", { xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas" }); end - dispatch_stanza(reply); + send(session, reply); return true; end end |