Software /
code /
prosody
Changeset
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 |
parents | 8227:325371632fe6 |
children | 8229:bf6f80f2d971 |
files | core/loggingmanager.lua plugins/mod_posix.lua |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;
--- a/plugins/mod_posix.lua Sun Sep 10 13:13:24 2017 -0400 +++ b/plugins/mod_posix.lua Mon Sep 11 19:32:12 2017 +0200 @@ -20,7 +20,7 @@ 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;