From e37dc3f5be89a1f47a8969f9e802f3e609291c07 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 24 Jul 2016 13:50:54 +0300 Subject: [PATCH] No more false whisper alerts. This closes #222 --- ElvUI_SLE/modules/chat/chat.lua | 3 +++ 1 file changed, 3 insertions(+) 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) -- 1.7.9.5