From aa20355fa2c1a65dce264c4a5e95fca8d789ecf2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 6 Oct 2021 14:49:26 +0200 Subject: prosody: Expose main thread on the 'prosody' global To allow running things in it. --- .luacheckrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '.luacheckrc') diff --git a/.luacheckrc b/.luacheckrc index 19942f9b..e8f7f1a0 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -12,6 +12,9 @@ read_globals = { files["prosody"] = { allow_defined_top = true; module = true; + globals = { + "prosody"; + } } files["prosodyctl"] = { allow_defined_top = true; -- cgit v1.2.3