summaryrefslogtreecommitdiff
path: root/indra/newview/llnotificationofferhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnotificationofferhandler.cpp')
-rw-r--r--indra/newview/llnotificationofferhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llnotificationofferhandler.cpp b/indra/newview/llnotificationofferhandler.cpp
index c29fdecefa..63ab88da42 100644
--- a/indra/newview/llnotificationofferhandler.cpp
+++ b/indra/newview/llnotificationofferhandler.cpp
@@ -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)
{