diff --git a/shootyepgp.lua b/shootyepgp.lua index 78df81f..ba3488c 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -781,7 +781,7 @@ function sepgp:captureLootCall(text, sender) if not (IsRaidLeader() or self:lootMaster()) then return end if not sender == playerName then return end if not (string.find(text, "|Hitem:", 1, true)) then return end - local linkstriptext, count = string.gsub(text,"|c%x+|H[eimt:%d]+|h%[[%w%s'%-]+%]|h|r"," ; ") + local linkstriptext, count = string.gsub(text,"|c%x+|H[eimt:%d]+|h%[[%w%s',%-]+%]|h|r"," ; ") if count > 1 then return end local lowtext = string.lower(linkstriptext) local whisperkw_found, mskw_found, oskw_found, link_found @@ -799,7 +799,7 @@ function sepgp:captureLootCall(text, sender) if (oskw_found) then break end end if (whisperkw_found) or (mskw_found) or (oskw_found) then - _,_,itemLink = string.find(text,"(|c%x+|H[eimt:%d]+|h%[[%w%s'%-]+%]|h|r)") + _,_,itemLink = string.find(text,"(|c%x+|H[eimt:%d]+|h%[[%w%s',%-]+%]|h|r)") if (itemLink) and (itemLink ~= "") then link_found, _, itemColor, itemString, itemName = string.find(itemLink, "^(|c%x+)|H(.+)|h(%[.+%])") end diff --git a/shootyepgp.toc b/shootyepgp.toc index c1752ed..468ca47 100644 --- a/shootyepgp.toc +++ b/shootyepgp.toc @@ -3,7 +3,7 @@ ## Notes: Effort Points/Gear Points Loot System ## Author: Roadblock ## X-Credits: shooty for original version -## Version: 2.21 +## Version: 2.22 ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel,sepgp_groupbyclass,sepgp_raidonly,sepgp_decay,sepgp_reservechannel,sepgp_main,sepgp_progress,sepgp_discount ## SavedVariablesPerCharacter: sepgp_log