Changeset

3486:887ce59cf396

mod_http_muc_log: Split long line [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 13 Mar 2019 22:47:14 +0100
parents 3485:181561d0aae5
children 3487:e60933722248
files mod_http_muc_log/mod_http_muc_log.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Wed Mar 13 22:47:08 2019 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Wed Mar 13 22:47:14 2019 +0100
@@ -40,7 +40,9 @@
 	end
 	if not template then
 		module:log("error", "Error loading template: %s", err);
-		template = render("<h1>mod_{module} could not read the template</h1><p>Tried to open <b>{filename}</b></p><pre>{error}</pre>",
+		template = render("<h1>mod_{module} could not read the template</h1>\
+		<p>Tried to open <b>{filename}</b></p>\
+		<pre>{error}</pre>",
 			{ module = module.name, filename = template_filename, error = err });
 	end
 end