# HG changeset patch # User Matthew Wild # Date 1224855950 -3600 # Node ID 1fee9396ca2f0ee4b95673d96cc8b3dd9117ac50 # Parent 8310bfddaba88cf39c79a041c86b84e30faf5402 Fix mod_legacyauth to not use old stanza_dispatch diff -r 8310bfddaba8 -r 1fee9396ca2f plugins/mod_legacyauth.lua --- a/plugins/mod_legacyauth.lua Fri Oct 24 07:57:06 2008 +0100 +++ b/plugins/mod_legacyauth.lua Fri Oct 24 14:45:50 2008 +0100 @@ -49,7 +49,7 @@ reply.attr.type = "error"; reply:tag("error", { code = "401", type = "auth" }) :tag("not-authorized", { xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas" }); - dispatch_stanza(reply); + send(session, reply); return true; end end