Software /
code /
prosody
Diff
plugins/mod_posix.lua @ 8168:45be94611593
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Jun 2017 20:14:06 +0200 |
parent | 8121:a33a87f13155 |
parent | 8167:39188851811c |
child | 8235:7d9a2c200736 |
line wrap: on
line diff
--- a/plugins/mod_posix.lua Tue Jun 13 16:38:53 2017 +0200 +++ b/plugins/mod_posix.lua Tue Jun 13 20:14:06 2017 +0200 @@ -11,7 +11,8 @@ 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"); @@ -112,7 +113,7 @@ 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;