diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-01 20:45:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-01 20:45:22 +0200 |
commit | 8e2d50474a40e77dfbc43abf429495dddc2fa978 (patch) | |
tree | 2bc7e071b61da4ab09e651f82f1f6d7d8a512cf6 /plugins/mod_legacyauth.lua | |
parent | e77d7a0447a4df613030f78994edca72205c0853 (diff) | |
download | prosody-8e2d50474a40e77dfbc43abf429495dddc2fa978.tar.gz prosody-8e2d50474a40e77dfbc43abf429495dddc2fa978.zip |
mod_legacyauth: Split a long line [luacheck]
Diffstat (limited to 'plugins/mod_legacyauth.lua')
-rw-r--r-- | plugins/mod_legacyauth.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua index 5edc26bb..0f41d3e7 100644 --- a/plugins/mod_legacyauth.lua +++ b/plugins/mod_legacyauth.lua @@ -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 |