Software /
code /
prosody
Diff
core/loggingmanager.lua @ 5001:78a3d275715a
loggingmanager: Remove unused variables
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 15:50:11 +0100 |
parent | 4627:b046cafc81a8 |
child | 5272:1e555909f23d |
line wrap: on
line diff
--- a/core/loggingmanager.lua Tue Jul 24 10:56:47 2012 +0100 +++ b/core/loggingmanager.lua Tue Jul 24 15:50:11 2012 +0100 @@ -7,14 +7,12 @@ -- -local format, rep = string.format, string.rep; -local pcall = pcall; -local debug = debug; -local tostring, setmetatable, rawset, pairs, ipairs, type = - tostring, setmetatable, rawset, pairs, ipairs, type; +local format = string.format; +local setmetatable, rawset, pairs, ipairs, type = + setmetatable, rawset, pairs, ipairs, type; local io_open, io_write = io.open, io.write; local math_max, rep = math.max, string.rep; -local os_date, os_getenv = os.date, os.getenv; +local os_date = os.date; local getstyle, setstyle = require "util.termcolours".getstyle, require "util.termcolours".setstyle; if os.getenv("__FLUSH_LOG") then