From 8e9eef77eec66175c3f2df51a3b1a88c47e660a5 Mon Sep 17 00:00:00 2001 From: Niketa Date: Sun, 15 Sep 2013 17:59:16 -0500 Subject: [PATCH] Updated ADDON_LOADED for new folder name to fix default settings. --- Core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core.lua b/Core.lua index 44516cc..c58ae90 100644 --- a/Core.lua +++ b/Core.lua @@ -38,7 +38,7 @@ local flag f:SetScript("OnEvent", function(self, event, ...) if event == "ADDON_LOADED" then local addon = ... - if addon == "Busy and Away" then + if addon == "BusyAndAway" then print("|cffffff00Busy and Away:|r Use the command \"/baa\" for help and to set your preferences.") if not BAA_FLAGTYPE then @@ -69,7 +69,7 @@ f:SetScript("OnEvent", function(self, event, ...) ChatEdit_SendText(ChatFrame1EditBox) end - flag = true + flag = true elseif not UnitIsAFK("player") and not UnitIsDND("player") and BAA_DNDMSG then if flag then ChatFrame1EditBox:SetText("/busy "..BAA_DNDMSG) -- 1.7.9.5