Fix potential crash, thanks Rye and Testicular!
This commit is contained in:
@@ -3372,8 +3372,7 @@ void send_do_not_disturb_message(LLMessageSystem* msg, const LLUUID& from_id, co
|
||||
std::string my_name;
|
||||
LLAgentUI::buildFullname(my_name);
|
||||
std::string name;
|
||||
msg->getStringFast(_PREHASH_MessageBlock, _PREHASH_FromAgentName, name);
|
||||
name = LLCacheName::cleanFullName(name);
|
||||
gCacheName->getFullName(from_id, name);
|
||||
std::string response = gSavedPerAccountSettings.getString("BusyModeResponse");
|
||||
pack_instant_message(
|
||||
msg,
|
||||
|
||||
Reference in New Issue
Block a user