aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-09-28 18:35:12 -0700
committerBruce Hill <bruce@bruce-hill.com>2018-09-28 18:35:17 -0700
commit258527750cea3372a932552e0f18cd48e132def5 (patch)
tree053d33a01574a0978d9f7499265837dae349bdc7 /code_obj.lua
parent84931a6f0e0c8627a4835a9ce886aba28b0e76bc (diff)
Slightly more robust.
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