summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-04 02:14:11 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-04 02:14:11 +0100
commitc98dd482dfe935778a02ef02cc6e2be9f6ac2d91 (patch)
treea023968f2172fb991f3a84d4637c43c4aa126b8f
parentAdd "uuid" library and make sessionmanager use this. (diff)
downloadprosody-c98dd482dfe935778a02ef02cc6e2be9f6ac2d91.tar.xz
prosody-c98dd482dfe935778a02ef02cc6e2be9f6ac2d91.zip
Small fix for sending stanzas in case of resource binding error
-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 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