Allow admin boxes to be ranked, and thus, appear in builder ranks.

This commit is contained in:
Auke Kok 2019-10-13 20:44:50 -07:00
parent b96284e668
commit 791094ecf2

View File

@ -655,9 +655,6 @@ func main() {
c = 0 c = 0
var boxes_topranks = make(map[string]string) var boxes_topranks = make(map[string]string)
for i := range boxes { for i := range boxes {
if (boxes[i].builder == "sofar") || (boxes[i].builder == "nore") {
continue
}
c = c + 1 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) 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 { if c > ranklen {
@ -694,10 +691,6 @@ func main() {
continue continue
} }
if (boxes[i].builder == "sofar") || (boxes[i].builder == "nore") {
continue
}
var n Builder var n Builder
n.name = boxes[i].builder n.name = boxes[i].builder
n.box_count = 1 n.box_count = 1