Allow admin boxes to be ranked, and thus, appear in builder ranks.
This commit is contained in:
parent
b96284e668
commit
791094ecf2
7
main.go
7
main.go
@ -655,9 +655,6 @@ func main() {
|
||||
c = 0
|
||||
var boxes_topranks = make(map[string]string)
|
||||
for i := range boxes {
|
||||
if (boxes[i].builder == "sofar") || (boxes[i].builder == "nore") {
|
||||
continue
|
||||
}
|
||||
c = c + 1
|
||||
boxes_topranks[fmt.Sprintf("%v", c)] = fmt.Sprintf("%v: \"%v\" by %v", boxes[i].box_id, boxes[i].name, boxes[i].builder)
|
||||
if c > ranklen {
|
||||
@ -694,10 +691,6 @@ func main() {
|
||||
continue
|
||||
}
|
||||
|
||||
if (boxes[i].builder == "sofar") || (boxes[i].builder == "nore") {
|
||||
continue
|
||||
}
|
||||
|
||||
var n Builder
|
||||
n.name = boxes[i].builder
|
||||
n.box_count = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user