From 645c8593f44b5f49d0590a0d443ac67ba9695558 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 23 Apr 2017 17:17:38 +0200 Subject: [PATCH] chat: add missing item ref orig function --- modules/chat.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/chat.lua b/modules/chat.lua index db411172..99973b0c 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -102,7 +102,7 @@ pfUI:RegisterModule("chat", function () pfUI.chat.urlcopy.SetItemRef = SetItemRef - function _G.SetItemRef (link, text, button) + function _G.SetItemRef(link, text, button) if (strsub(link, 1, 3) == "url") then if string.len(link) > 4 and string.sub(link,1,4) == "url:" then pfUI.chat.urlcopy.text:SetText(string.sub(link,5, string.len(link))) @@ -110,6 +110,7 @@ pfUI:RegisterModule("chat", function () end return end + pfUI.chat.urlcopy.SetItemRef(link, text, button) end -- whisper forwarding