Remove some unused code, line endings
This commit is contained in:
@ -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"))
|
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
|
||||||
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
|
return n, c, id .. il, id
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user