aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-04 20:09:28 +0100
committerKim Alvefur <zash@zash.se>2017-03-04 20:09:28 +0100
commite45c5961ac42007aa6c9282afddff91cd1e27124 (patch)
treec6228dea80fc393abf6eaf11909eca109d0cd30e /core/sessionmanager.lua
parentc723d21b83a0d219f1087459f48c863e38910bcf (diff)
downloadprosody-e45c5961ac42007aa6c9282afddff91cd1e27124.tar.gz
prosody-e45c5961ac42007aa6c9282afddff91cd1e27124.zip
core: Allow select core modules to mutate some globals (needs luacheck 1.19)
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index c5b08098..f7f36ae3 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -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;