From 6f307a3edd6847a7ee5f11eb5f1f25989c2d66e0 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 1 Apr 2015 19:48:18 +0400 Subject: [PATCH] Actually no metter when we hook shit --- ElvUI_SLE/modules/chat.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index 07c97ca..b60cce6 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -546,7 +546,7 @@ end hooksecurefunc(LO, "ToggleChatPanels", ChatPanels) hooksecurefunc(LO, "CreateChatPanels", CreateChatPanels) hooksecurefunc(CH, "StyleChat", Style) - +hooksecurefunc(E, "UpdateMedia", ChatTextures) hooksecurefunc(CH, "Initialize", function(self) if not E.private.chat.enable then return end if E.db.sle.chat.guildmaster then @@ -559,7 +559,7 @@ hooksecurefunc(CH, "Initialize", function(self) CH:SpamFilter() self:SecureHook("SetItemRef","ParseLink") - hooksecurefunc(E, "UpdateMedia", ChatTextures) + -- Borrowed from Deadly Boss Mods do local old = ItemRefTooltip.SetHyperlink -- we have to hook this function since the default ChatFrame code assumes that all links except for player and channel links are valid arguments for this function -- 1.7.9.5