Clean up some code

This commit is contained in:
Liru Færs
2020-01-04 12:08:26 -05:00
parent 28af96229b
commit 2f24a53a01

View File

@@ -6819,7 +6819,6 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem)
std::string llsdRaw; std::string llsdRaw;
LLSD llsdBlock; LLSD llsdBlock;
msgsystem->getStringFast(_PREHASH_AlertInfo, _PREHASH_Message, notificationID);
msgsystem->getStringFast(_PREHASH_AlertInfo, _PREHASH_ExtraParams, llsdRaw); msgsystem->getStringFast(_PREHASH_AlertInfo, _PREHASH_ExtraParams, llsdRaw);
if (llsdRaw.length()) if (llsdRaw.length())
{ {
@@ -6870,6 +6869,7 @@ bool attempt_standard_notification(LLMessageSystem* msgsystem)
{ {
gAgent.setIsCrossingRegion(false); // Attachments getting lost on TP gAgent.setIsCrossingRegion(false); // Attachments getting lost on TP
} }
else
// HACK -- handle callbacks for specific alerts. // HACK -- handle callbacks for specific alerts.
if (notificationID == "HomePositionSet") if (notificationID == "HomePositionSet")
{ {