MAINT-6735 brackets fix

master
andreykproductengine 2016-09-20 20:42:57 +03:00
parent c9cfa897d9
commit 6e3acac4f0
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{