diff --git a/shootyepgp.lua b/shootyepgp.lua index b4c7ce7..0b78cb4 100644 --- a/shootyepgp.lua +++ b/shootyepgp.lua @@ -609,7 +609,7 @@ function sepgp:buildClassMemberTable(roster,epgp) local c = { } for i,member in ipairs(roster) do local class,name = member.class, member.name - if c[class] == nil then + if (class) and (c[class] == nil) then c[class] = { } c[class].type = "group" c[class].name = class @@ -617,7 +617,7 @@ function sepgp:buildClassMemberTable(roster,epgp) c[class].hidden = function() return not (admin()) end c[class].args = { } end - if c[class].args[name] == nil then + if (name) and (c[class].args[name] == nil) then c[class].args[name] = { } c[class].args[name].type = "text" c[class].args[name].name = name diff --git a/shootyepgp.toc b/shootyepgp.toc index f9fdd0f..8783cdd 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: 3.1 +## Version: 3.11 ## OptionalDeps: Ace2 ## SavedVariables: sepgp_saychannel,sepgp_groupbyclass,sepgp_raidonly,sepgp_decay,sepgp_reservechannel,sepgp_main,sepgp_progress,sepgp_discount ## SavedVariablesPerCharacter: sepgp_log, sepgp_dbver