summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-03-30 21:19:21 +0000
committerubq323 <ubq323@ubq323.website>2024-03-30 21:19:21 +0000
commit2748e1876b0c9240f263acdd2b2583daab861c73 (patch)
treea91987fa4ee0ee50c40b92c69d46c203b3f62ca3
parentb0bacc58a4bae7be2d47a0990eb0dd60e3666098 (diff)
oo
-rw-r--r--is_required.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/is_required.lua b/is_required.lua
index 953b673..e82347d 100644
--- a/is_required.lua
+++ b/is_required.lua
@@ -5,7 +5,7 @@ local function is_required()
local x = debug.getinfo(n)
if x == nil then break end
n = n + 1
- if x.func == _G.require then
+ if x.func == require then
res = true
break