Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
5020:ef1eb65acbba | 5021:85b2689dbcfe |
---|---|
11 | 11 |
12 local log = require "util.logger".init("rostermanager"); | 12 local log = require "util.logger".init("rostermanager"); |
13 | 13 |
14 local setmetatable = setmetatable; | 14 local setmetatable = setmetatable; |
15 local format = string.format; | 15 local format = string.format; |
16 local loadfile, setfenv, pcall = loadfile, setfenv, pcall; | 16 local pcall = pcall; |
17 local pairs, ipairs = pairs, ipairs; | 17 local pairs, ipairs = pairs, ipairs; |
18 local tostring = tostring; | 18 local tostring = tostring; |
19 | 19 |
20 local hosts = hosts; | 20 local hosts = hosts; |
21 local bare_sessions = bare_sessions; | 21 local bare_sessions = bare_sessions; |