diff options
-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 |