From 5b5476814e211c976938cee60b29170f7ed67550 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 20 Apr 2007 02:00:48 +0000 Subject: [PATCH] * Anchor the slash command patterns so we can /praid unlock again =) --- PerfectRaid_Options.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PerfectRaid_Options.lua b/PerfectRaid_Options.lua index dce0d43..cb8f19e 100644 --- a/PerfectRaid_Options.lua +++ b/PerfectRaid_Options.lua @@ -38,8 +38,8 @@ end function Options:Enable() self.cmd = self:InitializeSlashCommand("PerfectRaid Options", "PERFECTRAID", "praid", "perfectraid") self.cmd:RegisterSlashHandler(L["Show options GUI"], "^$", "ShowOptions") - self.cmd:RegisterSlashHandler(L["lock - Lock frames"], "lock", "LockFrames") - self.cmd:RegisterSlashHandler(L["unlock - Unlock frames"], "unlock", "UnlockFrames") + self.cmd:RegisterSlashHandler(L["lock - Lock frames"], "^lock$", "LockFrames") + self.cmd:RegisterSlashHandler(L["unlock - Unlock frames"], "^unlock$", "UnlockFrames") --self.cmd:InjectDBCommands(PerfectRaid.db, "copy", "delete", "list", "reset", "set") end -- 1.7.9.5