diff options
Diffstat (limited to 'plugins/mod_legacyauth.lua')
-rw-r--r-- | plugins/mod_legacyauth.lua | 2 |
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 |