diff options
author | ubq323 <ubq323@ubq323.website> | 2024-03-30 21:19:21 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-03-30 21:19:21 +0000 |
commit | 2748e1876b0c9240f263acdd2b2583daab861c73 (patch) | |
tree | a91987fa4ee0ee50c40b92c69d46c203b3f62ca3 | |
parent | b0bacc58a4bae7be2d47a0990eb0dd60e3666098 (diff) |
oo
-rw-r--r-- | is_required.lua | 2 |
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 |