aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_legacyauth.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-24 14:45:50 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-24 14:45:50 +0100
commit652190787cac0e1d2cce9a6386f43b41c100ba45 (patch)
tree08437d3e689236020f16e6723f559343c2ed461e /plugins/mod_legacyauth.lua
parent74740297f3a5c72c76ea0e75f10ee1ae4b9af167 (diff)
downloadprosody-652190787cac0e1d2cce9a6386f43b41c100ba45.tar.gz
prosody-652190787cac0e1d2cce9a6386f43b41c100ba45.zip
Fix mod_legacyauth to not use old stanza_dispatch
Diffstat (limited to 'plugins/mod_legacyauth.lua')
-rw-r--r--plugins/mod_legacyauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua
index 8ac10bd4..ed698bf2 100644
--- a/plugins/mod_legacyauth.lua
+++ b/plugins/mod_legacyauth.lua
@@ -49,7 +49,7 @@ add_iq_handler("c2s_unauthed", "jabber:iq:auth",
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