summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/require/logout.lua
diff options
context:
space:
mode:
authornat-goodspeed <nat@lindenlab.com>2024-06-21 15:47:15 -0400
committerGitHub <noreply@github.com>2024-06-21 15:47:15 -0400
commit75accbefdbe7741d57bf093690d65ad1100f82d4 (patch)
treedf77079b8da7ba5d6d3523ea9d9466f104bf66dd /indra/newview/scripts/lua/require/logout.lua
parentb16209f86a376cadfcc9f43604618de7fdc789e7 (diff)
parent56e4b8c5f637343c8a1a181fd59324e033b4782d (diff)
Merge pull request #1725 from secondlife/lua-login
UI-related Lua API work
Diffstat (limited to 'indra/newview/scripts/lua/require/logout.lua')
-rw-r--r--indra/newview/scripts/lua/require/logout.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/require/logout.lua b/indra/newview/scripts/lua/require/logout.lua
new file mode 100644
index 0000000000..63dcd7f01f
--- /dev/null
+++ b/indra/newview/scripts/lua/require/logout.lua
@@ -0,0 +1,7 @@
+local leap = require 'leap'
+
+local function logout()
+ leap.send('LLAppViewer', {op='userQuit'});
+end
+
+return logout