-no point in having a secondary command for the slash command
Xruptor [05-06-12 - 13:21]
-no point in having a secondary command for the slash command
diff --git a/xanAchievementMover.lua b/xanAchievementMover.lua
index a426c8f..fd75086 100644
--- a/xanAchievementMover.lua
+++ b/xanAchievementMover.lua
@@ -61,19 +61,8 @@ function f:PLAYER_LOGIN()
end
function xanAchievementMover_SlashCommand(cmd)
-
- local a,b,c=strfind(cmd, "(%S+)"); --contiguous string of non-space characters
-
- if a then
- if c and c:lower() == "anchor" then
- if not _G["xanAchievementMover_Anchor"] then return end
- _G["xanAchievementMover_Anchor"]:Show()
- return true
- end
- end
-
- DEFAULT_CHAT_FRAME:AddMessage("xanAchievementMover");
- DEFAULT_CHAT_FRAME:AddMessage(L["/xanam anchor - toggles the anchors to move the frames"]);
+ if not _G["xanAchievementMover_Anchor"] then return end
+ _G["xanAchievementMover_Anchor"]:Show()
end
function f:DrawAnchor()