Fix optional Wykkyd Framework integration
Amber Yust [04-15-14 - 02:20]
Fix optional Wykkyd Framework integration
diff --git a/Binder.lua b/Binder.lua
index 464db99..4a8040a 100644
--- a/Binder.lua
+++ b/Binder.lua
@@ -179,9 +179,9 @@ end
EVENT_MANAGER:RegisterForEvent("Binder", EVENT_ADD_ON_LOADED, Binder.OnAddOnLoaded)
-if FW_SlashCommand ~= nil then
+if WF_SlashCommand ~= nil then
-- Register via Wykkyd's framework for those who use it, to allow macroing
- FW_SlashCommand("binder", Binder.SlashCommand)
+ WF_SlashCommand("binder", Binder.SlashCommand)
else
-- But don't require the framework.
SLASH_COMMANDS["/binder"] = Binder.SlashCommand