Diff

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
line wrap: on
line diff
--- a/core/sessionmanager.lua	Sat Mar 04 20:06:29 2017 +0100
+++ b/core/sessionmanager.lua	Sat Mar 04 20:09:28 2017 +0100
@@ -5,6 +5,7 @@
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
+-- luacheck: globals prosody.full_sessions prosody.bare_sessions
 
 local tostring, setmetatable = tostring, setmetatable;
 local pairs, next= pairs, next;