Comparison

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
comparison
equal deleted inserted replaced
8227:325371632fe6 8228:cda9db4b881d
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 -- luacheck: globals log prosody.log 8 -- luacheck: globals log prosody.log
9 9
10 local format = require "util.format"; 10 local format = require "util.format".format;
11 local setmetatable, rawset, pairs, ipairs, type = 11 local setmetatable, rawset, pairs, ipairs, type =
12 setmetatable, rawset, pairs, ipairs, type; 12 setmetatable, rawset, pairs, ipairs, type;
13 local stdout = io.stdout; 13 local stdout = io.stdout;
14 local io_open = io.open; 14 local io_open = io.open;
15 local math_max, rep = math.max, string.rep; 15 local math_max, rep = math.max, string.rep;