diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-06-12 16:45:35 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-06-12 16:45:35 -0400 |
commit | 241156cf9831e30a3bbb529478e73aaf233a759b (patch) | |
tree | 093879576fb31d0bf92c198901103ae97cbaadf2 /indra | |
parent | ffdcf33364ebfdc1829cb7c7eea6ae4c908d12f1 (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.lua | 2 |
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 } |