diff options
author | 2008-10-04 02:14:11 +0100 | |
---|---|---|
committer | 2008-10-04 02:14:11 +0100 | |
commit | c98dd482dfe935778a02ef02cc6e2be9f6ac2d91 (patch) | |
tree | a023968f2172fb991f3a84d4637c43c4aa126b8f | |
parent | Add "uuid" library and make sessionmanager use this. (diff) | |
download | prosody-c98dd482dfe935778a02ef02cc6e2be9f6ac2d91.tar.xz 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 7a205e5bb..8ac10bd4c 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 |