Software /
code /
prosody
Comparison
plugins/mod_posix.lua @ 8167:39188851811c
mod_posix: Ignore currently unused argument [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 13 Jun 2017 20:13:09 +0200 |
parent | 8166:bbedf564b9f9 |
child | 8168:45be94611593 |
child | 8226:3463d82276de |
comparison
equal
deleted
inserted
replaced
8166:bbedf564b9f9 | 8167:39188851811c |
---|---|
111 end | 111 end |
112 end | 112 end |
113 end | 113 end |
114 | 114 |
115 local syslog_opened; | 115 local syslog_opened; |
116 function syslog_sink_maker(config) | 116 function syslog_sink_maker(config) -- luacheck: ignore 212/config |
117 if not syslog_opened then | 117 if not syslog_opened then |
118 pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); | 118 pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); |
119 syslog_opened = true; | 119 syslog_opened = true; |
120 end | 120 end |
121 local syslog, format = pposix.syslog_log, string.format; | 121 local syslog, format = pposix.syslog_log, string.format; |