mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
Small fix for sending stanzas in case of resource binding error
This commit is contained in:
parent
f6924a64c0
commit
c98dd482df
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ add_iq_handler("c2s_unauthed", "jabber:iq:auth",
|
||||||
reply:tag("error", { code = "401", type = "auth" })
|
reply:tag("error", { code = "401", type = "auth" })
|
||||||
:tag("not-authorized", { xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas" });
|
:tag("not-authorized", { xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas" });
|
||||||
end
|
end
|
||||||
dispatch_stanza(reply);
|
send(session, reply);
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue