Skip to content
Snippets Groups Projects
Commit ab8dc076 authored by Maxim Nikolenko's avatar Maxim Nikolenko
Browse files

SL-18826 limit teleport command usage

parent f7010e46
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ class LLTeleportHandler : public LLCommandHandler, public LLEventAPI ...@@ -263,7 +263,7 @@ class LLTeleportHandler : public LLCommandHandler, public LLEventAPI
// inside the app, otherwise a malicious web page could // inside the app, otherwise a malicious web page could
// cause a constant teleport loop. JC // cause a constant teleport loop. JC
LLTeleportHandler() : LLTeleportHandler() :
LLCommandHandler("teleport", UNTRUSTED_THROTTLE), LLCommandHandler("teleport", UNTRUSTED_CLICK_ONLY),
LLEventAPI("LLTeleportHandler", "Low-level teleport API") LLEventAPI("LLTeleportHandler", "Low-level teleport API")
{ {
LLEventAPI::add("teleport", LLEventAPI::add("teleport",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment