aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-28 20:06:26 +0100
committerKim Alvefur <zash@zash.se>2018-02-28 20:06:26 +0100
commit43b814a83bc1e20d15d3cd38ddcf108d8e3ca356 (patch)
tree0f24fe5bf868191f9e33931f28c9db16e098d2bb /core/sessionmanager.lua
parent8e377a8d5586e64f4c75e0b40e7b84de6e2a7972 (diff)
downloadprosody-43b814a83bc1e20d15d3cd38ddcf108d8e3ca356.tar.gz
prosody-43b814a83bc1e20d15d3cd38ddcf108d8e3ca356.zip
vairious: Add annotation when an empty environment is set [luacheck]
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 e9771c58..4f2b3ecc 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -26,6 +26,7 @@ local initialize_filters = require "util.filters".initialize;
local gettime = require "socket".gettime;
local _ENV = nil;
+-- luacheck: std none
local function new_session(conn)
local session = { conn = conn, type = "c2s_unauthed", conntime = gettime() };