Small fix for one time error when leaving guild.
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user