Diff

core/sessionmanager.lua @ 8555:4f0f5b49bb03

vairious: Add annotation when an empty environment is set [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:06:26 +0100
parent 8185:e89320b8a789
child 8717:9ddd0fbbe53a
line wrap: on
line diff
--- a/core/sessionmanager.lua	Wed Feb 28 18:12:20 2018 +0100
+++ b/core/sessionmanager.lua	Wed Feb 28 20:06:26 2018 +0100
@@ -26,6 +26,7 @@
 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() };