Changeset

8768:bd88ca43d77a

mod_legacyauth: Split a long line [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 01 May 2018 20:45:22 +0200
parents 8767:7738838a013d
children 8769:e809074cdc09
files plugins/mod_legacyauth.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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