Removed 3.3.3 backward-compatibility code.
James D. Callahan III [07-05-10 - 00:23]
Removed 3.3.3 backward-compatibility code.
diff --git a/Frame.lua b/Frame.lua
index a759eda..3aaf9c5 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -2262,14 +2262,10 @@ do
local _, itemLink = _G.GetItemInfo(itemID)
if itemLink then
- if tonumber(private.build_num) < 12213 then
- _G.ChatFrameEditBox:Insert(itemLink)
- else
- local edit_box = _G.ChatEdit_ChooseBoxForSend()
+ local edit_box = _G.ChatEdit_ChooseBoxForSend()
- _G.ChatEdit_ActivateChat(edit_box)
- edit_box:Insert(itemLink)
- end
+ _G.ChatEdit_ActivateChat(edit_box)
+ edit_box:Insert(itemLink)
else
addon:Print(L["NoItemLink"])
end
@@ -2277,14 +2273,10 @@ do
addon:Print(L["NoItemLink"])
end
elseif _G.IsControlKeyDown() then
- if tonumber(private.build_num) < 12213 then
- _G.ChatFrameEditBox:Insert(GetSpellLink(private.recipe_list[clicked_line.recipe_id].spell_id))
- else
- local edit_box = _G.ChatEdit_ChooseBoxForSend()
+ local edit_box = _G.ChatEdit_ChooseBoxForSend()
- _G.ChatEdit_ActivateChat(edit_box)
- edit_box:Insert(GetSpellLink(private.recipe_list[clicked_line.recipe_id].spell_id))
- end
+ _G.ChatEdit_ActivateChat(edit_box)
+ edit_box:Insert(GetSpellLink(private.recipe_list[clicked_line.recipe_id].spell_id))
elseif _G.IsAltKeyDown() then
local exclusion_list = addon.db.profile.exclusionlist
local recipe_id = clicked_line.recipe_id