Software /
code /
prosody
Diff
plugins/mod_legacyauth.lua @ 8768:bd88ca43d77a
mod_legacyauth: Split a long line [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 May 2018 20:45:22 +0200 |
parent | 6487:edc63dc72566 |
child | 10557:e1cb869e2f6c |
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua Tue May 01 18:21:57 2018 +0200 +++ b/plugins/mod_legacyauth.lua Tue May 01 20:45:22 2018 +0200 @@ -35,7 +35,8 @@ 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