mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Fix mod_legacyauth to not use old stanza_dispatch
This commit is contained in:
parent
74740297f3
commit
652190787c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue