Software /
code /
prosody
Diff
core/rostermanager.lua @ 5021:85b2689dbcfe
Eliminate direct setfenv usage
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Fri, 08 Jun 2012 05:04:38 +0200 |
parent | 3129:125f03db0b1a |
child | 5024:d25e1b9332cc |
line wrap: on
line diff
--- a/core/rostermanager.lua Thu Jun 07 23:27:26 2012 +0200 +++ b/core/rostermanager.lua Fri Jun 08 05:04:38 2012 +0200 @@ -13,7 +13,7 @@ local setmetatable = setmetatable; local format = string.format; -local loadfile, setfenv, pcall = loadfile, setfenv, pcall; +local pcall = pcall; local pairs, ipairs = pairs, ipairs; local tostring = tostring;