Comparison

core/loggingmanager.lua @ 7949:8acc35b5355a

core: Allow select core modules to mutate some globals (needs luacheck 1.19)
author Kim Alvefur <zash@zash.se>
date Sat, 04 Mar 2017 20:09:28 +0100
parent 7163:eadbf19d0de0
child 8226:3463d82276de
comparison
equal deleted inserted replaced
7948:ed99a8e3c260 7949:8acc35b5355a
3 -- Copyright (C) 2008-2010 Waqas Hussain 3 -- Copyright (C) 2008-2010 Waqas Hussain
4 -- 4 --
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 8 -- luacheck: globals log prosody.log
9 9
10 local format = string.format; 10 local format = string.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;