mirror of https://github.com/dirtbags/moth.git
when disabled, don't log like a constipated weiner dog
This commit is contained in:
parent
d74401be9a
commit
6f1f092e7f
|
@ -322,8 +322,6 @@ func (ctx *Instance) Maintenance(maintenanceInterval time.Duration) {
|
||||||
ctx.collectPoints()
|
ctx.collectPoints()
|
||||||
ctx.generatePuzzleList()
|
ctx.generatePuzzleList()
|
||||||
ctx.generatePointsLog("")
|
ctx.generatePointsLog("")
|
||||||
} else {
|
|
||||||
ctx.LogEvent("disabled", "", "", "", 0)
|
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
case <-ctx.update:
|
case <-ctx.update:
|
||||||
|
|
Loading…
Reference in New Issue