From 60a5d606c61c7a552a1ac1b1b373f999b5e8b291 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 13 Jun 2017 20:10:40 +0200 Subject: mod_posix: Split long line [luacheck] --- plugins/mod_posix.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index bf8b5cc5..9c1dff3d 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -11,7 +11,8 @@ local want_pposix_version = "0.4.0"; local pposix = assert(require "util.pposix"); if pposix._VERSION ~= want_pposix_version then - module:log("warn", "Unknown version (%s) of binary pposix module, expected %s. Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); + module:log("warn", "Unknown version (%s) of binary pposix module, expected %s." + .. "Perhaps you need to recompile?", tostring(pposix._VERSION), want_pposix_version); end local have_signal, signal = pcall(require, "util.signal"); -- cgit v1.2.3 From f8aad6ad60886d13f595e159fc6ad4bf2f136d5b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 13 Jun 2017 20:13:09 +0200 Subject: mod_posix: Ignore currently unused argument [luacheck] --- plugins/mod_posix.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua index 9c1dff3d..32fc27bc 100644 --- a/plugins/mod_posix.lua +++ b/plugins/mod_posix.lua @@ -113,7 +113,7 @@ local function write_pidfile() end local syslog_opened; -function syslog_sink_maker(config) +function syslog_sink_maker(config) -- luacheck: ignore 212/config if not syslog_opened then pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); syslog_opened = true; -- cgit v1.2.3