Skip to content
Snippets Groups Projects
Commit 6e3acac4 authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-6735 brackets fix

parent c9cfa897
No related branches found
No related tags found
No related merge requests found
......@@ -100,11 +100,11 @@ bool LLOfferHandler::processNotification(const LLNotificationPtr& notification)
{
//Will not play a notification sound for inventory and teleport offer based upon chat preference
bool playSound = (notification->getName() == "UserGiveItem"
&& gSavedSettings.getBOOL("PlaySoundInventoryOffer")
&& gSavedSettings.getBOOL("PlaySoundInventoryOffer"))
|| ((notification->getName() == "TeleportOffered"
|| notification->getName() == "TeleportOffered_MaturityExceeded"
|| notification->getName() == "TeleportOffered_MaturityBlocked")
&& gSavedSettings.getBOOL("PlaySoundTeleportOffer")));
&& gSavedSettings.getBOOL("PlaySoundTeleportOffer"));
if (playSound)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment