Add SinguOwnerSayAsErrors to make llOwnerSay spew to debug console instead

This commit is contained in:
Liru Færs
2020-03-23 08:44:25 -04:00
parent 11d59d1b00
commit 54b75a3219
2 changed files with 16 additions and 0 deletions

View File

@@ -287,6 +287,11 @@ void LLFloaterChat::addChatHistory(LLChat& chat, bool log_to_file)
return;
}
}
else if (chat.mChatType == CHAT_TYPE_OWNER && gSavedSettings.getBOOL("SinguOwnerSayAsErrors"))
{
LLFloaterScriptDebug::addScriptLine(chat, color);
return;
}
// could flash the chat button in the status bar here. JC
LLFloaterChat* chat_floater = LLFloaterChat::getInstance(LLSD());