mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_legacyauth: Split a long line [luacheck]
This commit is contained in:
parent
1277677cc4
commit
3f6ffa7cd6
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ module:hook("stanza/iq/jabber:iq:auth:query", function(event)
|
|||
local session, stanza = event.origin, event.stanza;
|
||||
|
||||
if session.type ~= "c2s_unauthed" then
|
||||
(session.sends2s or session.send)(st.error_reply(stanza, "cancel", "service-unavailable", "Legacy authentication is only allowed for unauthenticated client connections."));
|
||||
(session.sends2s or session.send)(st.error_reply(stanza, "cancel", "service-unavailable",
|
||||
"Legacy authentication is only allowed for unauthenticated client connections."));
|
||||
return true;
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue