diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-08-07 12:57:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-07 12:57:54 -0400 |
commit | 78e987883ac3b82466e603c5535fc0332736a0c2 (patch) | |
tree | 2aea88be2369f7bfccefaa839e37b197cc7c0768 /indra/newview/scripts/lua/require/Region.lua | |
parent | 10799e968aa562078519346594732fc62714c1db (diff) | |
parent | 2df6ee631507bd3c9bff783d57b96d4546405a8a (diff) |
Merge pull request #2223 from secondlife/lua-login-fix
Fix omission in login.savedLogins().
Diffstat (limited to 'indra/newview/scripts/lua/require/Region.lua')
-rw-r--r-- | indra/newview/scripts/lua/require/Region.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/require/Region.lua b/indra/newview/scripts/lua/require/Region.lua new file mode 100644 index 0000000000..e4eefece33 --- /dev/null +++ b/indra/newview/scripts/lua/require/Region.lua @@ -0,0 +1,17 @@ +LLFloaterAbout = require 'LLFloaterAbout' + +local Region = {} + +function Region.getInfo() + info = LLFloaterAbout.getInfo() + return { + HOSTNAME=info.HOSTNAME, + POSITION=info.POSITION, + POSITION_LOCAL=info.POSITION_LOCAL, + REGION=info.REGION, + SERVER_VERSION=info.SERVER_VERSION, + SLURL=info.SLURL, + } +end + +return Region |