diff options
Diffstat (limited to 'epan/wslua/template-init.lua')
-rw-r--r-- | epan/wslua/template-init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua index 74380263d9..f036c2460a 100644 --- a/epan/wslua/template-init.lua +++ b/epan/wslua/template-init.lua @@ -61,7 +61,7 @@ end function typeof(obj) local mt = getmetatable(obj) - return mt and mt.__typeof or type(obj) + return mt and mt.__typeof or obj.__typeof or type(obj) end function file_exists(name) |