# HG changeset patch # User Matthew Wild # Date 1223082851 -3600 # Node ID 363c0af290bcab41ad312ef5dd4309696280771d # Parent 80d2ade0fd69fbeb7f0978636876f7df7c65b878 Small fix for sending stanzas in case of resource binding error diff -r 80d2ade0fd69 -r 363c0af290bc plugins/mod_legacyauth.lua --- a/plugins/mod_legacyauth.lua Sat Oct 04 02:12:54 2008 +0100 +++ b/plugins/mod_legacyauth.lua Sat Oct 04 02:14:11 2008 +0100 @@ -38,7 +38,7 @@ 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