aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'code_obj.lua')
-rw-r--r--code_obj.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/code_obj.lua b/code_obj.lua
index 5be92e6..577eaf3 100644
--- a/code_obj.lua
+++ b/code_obj.lua
@@ -355,7 +355,7 @@ do
local _list_1 = self.bits
for _index_0 = 1, #_list_1 do
local bit = _list_1[_index_0]
- if bit.__class == LuaCode then
+ if not (type(bit) == 'string') then
gather_from(bit)
end
end