summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-12 16:45:35 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-12 16:45:35 -0400
commit241156cf9831e30a3bbb529478e73aaf233a759b (patch)
tree093879576fb31d0bf92c198901103ae97cbaadf2 /indra
parentffdcf33364ebfdc1829cb7c7eea6ae4c908d12f1 (diff)
Make popup() directly pass payload.
The expression (payload or {}) is unnecessary, since that value will be converted to LLSD -- and both Lua nil and empty table convert to LLSD::isUndefined().
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/scripts/lua/popup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/scripts/lua/popup.lua b/indra/newview/scripts/lua/popup.lua
index 65b04b513e..9eecc46753 100644
--- a/indra/newview/scripts/lua/popup.lua
+++ b/indra/newview/scripts/lua/popup.lua
@@ -11,7 +11,7 @@ local popup_meta = {
return leap.request('LLNotifications',
{op='requestAdd', name=notification,
substitutions=vars,
- payload=payload or {}})
+ payload=payload})
end
}