From 6b24281465d4ddc816cc3320561715d44e6397be Mon Sep 17 00:00:00 2001 From: Xruptor Date: Sun, 2 Jan 2011 09:50:31 -0500 Subject: [PATCH] -Whoops typo ;) --- xanTooltipHoudini.lua | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/xanTooltipHoudini.lua b/xanTooltipHoudini.lua index ff05a07..fcf4620 100644 --- a/xanTooltipHoudini.lua +++ b/xanTooltipHoudini.lua @@ -21,19 +21,21 @@ function f:PLAYER_LOGIN() SLASH_XANTOOLTIPHOUDINI1 = "/xht" SlashCmdList["XANTOOLTIPHOUDINI"] = function(msg) - local a,b,c = strfind(msg, "(%S+)") --contiguous string of non-space characters - - if a then - if c and c:lower() == "auras" then - if XTH_DB.showAuras then - XTH_DB.showAuras = false - DEFAULT_CHAT_FRAME:AddMessage("XanTooltipHoudini: Aura (Buff/Debuff) toolips are now [|cFF99CC33OFF|r]") - else - XTH_DB.showAuras = true - DEFAULT_CHAT_FRAME:AddMessage("XanTooltipHoudini: Aura (Buff/Debuff) toolips are now [|cFF99CC33ON|r]") + local a,b,c = strfind(msg, "(%S+)") --contiguous string of non-space characters + + if a then + if c and c:lower() == "auras" then + if XTH_DB.showAuras then + XTH_DB.showAuras = false + DEFAULT_CHAT_FRAME:AddMessage("XanTooltipHoudini: Aura (Buff/Debuff) toolips are now [|cFF99CC33OFF|r]") + else + XTH_DB.showAuras = true + DEFAULT_CHAT_FRAME:AddMessage("XanTooltipHoudini: Aura (Buff/Debuff) toolips are now [|cFF99CC33ON|r]") + end + return true end - return true end + end GameTooltip:HookScript("OnShow", function(self) -- 1.7.9.5