From 74745108b608fb81a396321250f70e2340ef7993 Mon Sep 17 00:00:00 2001 From: Connor O'Connor Date: Fri, 3 Oct 2025 14:42:15 -0400 Subject: [PATCH] typo fix: use table.empty instead of table.isempty --- src/util/libbl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/libbl.lua b/src/util/libbl.lua index 0078a1d..4a0d523 100644 --- a/src/util/libbl.lua +++ b/src/util/libbl.lua @@ -653,7 +653,7 @@ function bl.unhook(pkg, name, time) if bl._hooks[pkg][name] then if not time then bl._hooks[pkg][name] = nil - if table.isempty(bl._hooks[pkg]) then + if table.empty(bl._hooks[pkg]) then bl._hooks[pkg] = nil deactivatePackage(pkg) end @@ -663,7 +663,7 @@ function bl.unhook(pkg, name, time) error('bl.unhook: argument #3: time must be nil or one of '.. '\'before\' \'after\' \'override\'', 2) end bl._hooks[pkg][name][time] = nil - if table.isempty(bl._hooks[pkg][name]) and table.empty(bl._hooks[pkg]) then + if table.empty(bl._hooks[pkg][name]) and table.empty(bl._hooks[pkg]) then bl._hooks[pkg] = nil deactivatePackage(pkg) end