Feature Request: Offer to show that autoresponse to muted was sent.

Also, stop letting RLV filter cmdline_printchat() calls.
This commit is contained in:
Inusaito Sayori
2015-03-19 03:37:01 -04:00
parent 8cc2499f0a
commit 6cd7941fd2
9 changed files with 53 additions and 45 deletions

View File

@@ -66,9 +66,9 @@
#include "llchat.h"
#include "llfloaterchat.h"
#include "rlvhandler.h"
void cmdline_printchat(std::string message);
void cmdline_printchat(const std::string& message);
void cmdline_rezplat(bool use_saved_value = true, F32 visual_radius = 30.0);
void cmdline_tp2name(std::string target);
@@ -623,11 +623,11 @@ void cmdline_rezplat(bool use_saved_value, F32 visual_radius) //cmdline_rezplat(
msg->sendReliable(gAgent.getRegionHost());
}
void cmdline_printchat(std::string message)
void cmdline_printchat(const std::string& message)
{
LLChat chat;
chat.mText = message;
LLChat chat(message);
chat.mSourceType = CHAT_SOURCE_SYSTEM;
LLFloaterChat::addChat(chat, FALSE, FALSE);
if (rlv_handler_t::isEnabled()) chat.mRlvLocFiltered = chat.mRlvNamesFiltered = true;
LLFloaterChat::addChat(chat);
}