Diff

core/loggingmanager.lua @ 8228:cda9db4b881d

loggingmanager, mod_posix: Import util.format correctly (fixes #985)
author Kim Alvefur <zash@zash.se>
date Mon, 11 Sep 2017 19:32:12 +0200
parent 8227:325371632fe6
child 8229:bf6f80f2d971
line wrap: on
line diff
--- a/core/loggingmanager.lua	Sun Sep 10 13:13:24 2017 -0400
+++ b/core/loggingmanager.lua	Mon Sep 11 19:32:12 2017 +0200
@@ -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;