mouseover: set slashcmd in global space

This commit is contained in:
shagu
2017-02-27 20:28:06 +01:00
parent ff1b7a56b4
commit 65b18a5125
+1 -1
View File
@@ -1,7 +1,7 @@
pfUI:RegisterModule("mouseover", function ()
pfUI.uf.mouseover = CreateFrame("Frame", "pfMouseOver", UIParent)
SLASH_PFCAST1, SLASH_LPFCAST2 = "/pfcast", "/pfmouse"
_G.SLASH_PFCAST1, _G.SLASH_LPFCAST2 = "/pfcast", "/pfmouse"
function SlashCmdList.PFCAST(msg, editbox)
local oldt = true
local unit = "mouseover"