# HG changeset patch # User Kim Alvefur # Date 1525200322 -7200 # Node ID bd88ca43d77af27739572e97d05a359709221506 # Parent 7738838a013d9ffc54ad101a37941f8891ff7457 mod_legacyauth: Split a long line [luacheck] diff -r 7738838a013d -r bd88ca43d77a plugins/mod_legacyauth.lua --- 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