summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/require/logout.lua
diff options
context:
space:
mode:
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