summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_logout.lua
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-21 14:26:36 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-21 14:26:36 -0400
commit1c19563a76dd227c80693701fdc2d52d65bbf4f4 (patch)
treed6eaee97f510d37728b8ba36410e410ee03770f9 /indra/newview/scripts/lua/test_logout.lua
parente05155494cb3a4b24f9e89252e34953e68eb7107 (diff)
Introduce require/logout.lua and test_logout.lua.
Add "userQuit" operation to LLAppViewerListener to engage LLAppViewer::userQuit(), which pops up "Are you sure?" prompt unless suppressed.
Diffstat (limited to 'indra/newview/scripts/lua/test_logout.lua')
-rw-r--r--indra/newview/scripts/lua/test_logout.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/test_logout.lua b/indra/newview/scripts/lua/test_logout.lua
new file mode 100644
index 0000000000..b1ac59e38c
--- /dev/null
+++ b/indra/newview/scripts/lua/test_logout.lua
@@ -0,0 +1,3 @@
+logout = require 'logout'
+
+logout()