Remove some unused code, line endings

This commit is contained in:
Sandor Takacs
2014-02-10 23:47:06 +01:00
parent 3a0eef76dc
commit 9ae32b36d1

View File

@ -14,17 +14,7 @@ local function GetItemInfoFromLink(l)
local c, t, id, il, n = select(3, strfind(l, "|cff(%x+)|H(%l+):(%-?%d+)([^|]+)|h%[(.-)%]|h|r"))
--[[
return n, c, id .. il, id, t
if (strfind(l, "Hitem")) then
c, id ,il, n = select(3, strfind(l, "|cff(%x+)|Hitem:(%-?%d+)([^|]+)|h%[(.-)%]|h|r"))
else
if (strfind(l, "Hbattlepet")) then
c, id ,il, n = select(3, strfind(l, "|cff(%x+)|Hbattlepet:(%-?%d+)([^|]+)|h%[(.-)%]|h|r"))
end
end
]]
-- return n, c, id .. il, id, t
return n, c, id .. il, id
end