Skip to content

Commit d4bee6b

Browse files
committed
#5012 Switch 'chat' from untrusted, to click only
This command shouldn't be allowed from outside the app, but clicks should be valid
1 parent 9fe788e commit d4bee6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/llfloaterimnearbychat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ class LLChatCommandHandler : public LLCommandHandler
907907
{
908908
public:
909909
// not allowed from outside the app
910-
LLChatCommandHandler() : LLCommandHandler("chat", UNTRUSTED_BLOCK) { }
910+
LLChatCommandHandler() : LLCommandHandler("chat", UNTRUSTED_CLICK_ONLY) { }
911911

912912
// Your code here
913913
bool handle(const LLSD& tokens,

0 commit comments

Comments
 (0)