aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.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
commit35717a1e41b6b9364adfb4a6de39418f0f241f57 (patch)
tree62dd160332e6bf74c05958cf2f6be153e385830b /core/loggingmanager.lua
parentf4aebb575ef73d5f9bce263af4146196c17cf66b (diff)
downloadprosody-35717a1e41b6b9364adfb4a6de39418f0f241f57.tar.gz
prosody-35717a1e41b6b9364adfb4a6de39418f0f241f57.zip
loggingmanager, mod_posix: Import util.format correctly (fixes #985)
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 2e9590fe..3d469bed 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -7,7 +7,7 @@
--
-- luacheck: globals log prosody.log
-local format = require "util.format";
+local format = require "util.format".format;
local setmetatable, rawset, pairs, ipairs, type =
setmetatable, rawset, pairs, ipairs, type;
local stdout = io.stdout;