Quantcast

No more false whisper alerts. This closes #222

Darthpred [07-24-16 - 10:50]
No more false whisper alerts. This closes #222
Filename
ElvUI_SLE/modules/chat/chat.lua
diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua
index 59a730a..d27c2ce 100644
--- a/ElvUI_SLE/modules/chat/chat.lua
+++ b/ElvUI_SLE/modules/chat/chat.lua
@@ -253,7 +253,10 @@ function C:UpdateChatMax()
 		local frame = _G[frameName]
 		frame:SetMaxLines(E.private.sle.chat.chatMax)
 	end
+	local whisper = E.db.chat.whisperSound
+	E.db.chat.whisperSound = "None"
 	CH:DisplayChatHistory()
+	E.db.chat.whisperSound = whisper
 end
 hooksecurefunc(CH, "Initialize", C.UpdateChatMax)