aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_selectors/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua
index 62070a114..726f7d394 100644
--- a/lualib/lua_selectors/init.lua
+++ b/lualib/lua_selectors/init.lua
@@ -58,7 +58,7 @@ local function implicit_tostring(t, ud_or_table)
return logger.slog("%s", ud_or_table),'string'
elseif t == 'userdata' then
- if t.cookie and t.cookie == text_cookie then
+ if ud_or_table.cookie and ud_or_table.cookie == text_cookie then
-- Preserve opaque
return ud_or_table,'string'
else