From f67a593ab404cfb9ef373880348da14d179b643d Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Sun, 25 Jul 2021 16:18:46 -0700 Subject: [PATCH] Don't need parethesis around "_G" --- ldoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldoc.lua b/ldoc.lua index 40bef74..d259f07 100644 --- a/ldoc.lua +++ b/ldoc.lua @@ -258,7 +258,7 @@ local ldoc_contents = { if args.UNSAFE_NO_SANDBOX then function ldoc.import(t) - return (_G[t]) + return _G[t] end table.insert(ldoc_contents, 'import')