Software /
code /
prosody
Comparison
core/sessionmanager.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 | 7947:24170d74b00b |
child | 7950:f91e7ec9654e |
child | 8184:dbcae15b4282 |
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 -- luacheck: globals prosody.full_sessions prosody.bare_sessions | |
8 | 9 |
9 local tostring, setmetatable = tostring, setmetatable; | 10 local tostring, setmetatable = tostring, setmetatable; |
10 local pairs, next= pairs, next; | 11 local pairs, next= pairs, next; |
11 | 12 |
12 local hosts = hosts; | 13 local hosts = hosts; |