Software /
code /
prosody
Changeset
154:1fee9396ca2f
Fix mod_legacyauth to not use old stanza_dispatch
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Oct 2008 14:45:50 +0100 |
parents | 153:8310bfddaba8 |
children | 155:8c9a9f6f6455 |
files | plugins/mod_legacyauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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