Skip to content

Commit 1d1eae8

Browse files
committed
1 parent 90c0321 commit 1d1eae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/irc/scripts/loading.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ end
231231
_type = type
232232
function type (element)
233233
local elementType = _type(element)
234-
if elementType == "userdata" then
234+
if elementType == "userdata" and isElement(element) then
235235
return getElementType(element)
236236
end
237237
return elementType

0 commit comments

Comments
 (0)