aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-11 19:32:12 +0200
committerKim Alvefur <zash@zash.se>2017-09-11 19:32:12 +0200
commitf125342f41c0e398749b42d7a202d1d364aded71 (patch)
tree62dd160332e6bf74c05958cf2f6be153e385830b /plugins/mod_posix.lua
parent0867e29552f4fd7c041f696be1b45a3a78b84cfd (diff)
downloadprosody-f125342f41c0e398749b42d7a202d1d364aded71.tar.gz
prosody-f125342f41c0e398749b42d7a202d1d364aded71.zip
loggingmanager, mod_posix: Import util.format correctly (fixes #985)
Diffstat (limited to 'plugins/mod_posix.lua')
-rw-r--r--plugins/mod_posix.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_posix.lua b/plugins/mod_posix.lua
index b2984add..fccc7a2b 100644
--- a/plugins/mod_posix.lua
+++ b/plugins/mod_posix.lua
@@ -20,7 +20,7 @@ if not have_signal then
module:log("warn", "Couldn't load signal library, won't respond to SIGTERM");
end
-local format = require "util.format";
+local format = require "util.format".format;
local lfs = require "lfs";
local stat = lfs.attributes;