Software /
code /
prosody
Comparison
plugins/mod_posix.lua @ 3555:6938b6153890
mod_posix: Remove redundant import of logger.setwriter()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 04 Nov 2010 08:41:24 +0000 |
parent | 3540:bc139431830b |
child | 4623:403b56b78018 |
child | 4794:25ce7720555f |
comparison
equal
deleted
inserted
replaced
3554:1770f8aaf04a | 3555:6938b6153890 |
---|---|
14 | 14 |
15 local signal = select(2, pcall(require, "util.signal")); | 15 local signal = select(2, pcall(require, "util.signal")); |
16 if type(signal) == "string" then | 16 if type(signal) == "string" then |
17 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); | 17 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); |
18 end | 18 end |
19 | |
20 local logger_set = require "util.logger".setwriter; | |
21 | 19 |
22 local lfs = require "lfs"; | 20 local lfs = require "lfs"; |
23 local stat = lfs.attributes; | 21 local stat = lfs.attributes; |
24 | 22 |
25 local prosody = _G.prosody; | 23 local prosody = _G.prosody; |