diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -99,7 +99,7 @@ func main() { SetHandler(commands.ConfigCommand) topCmd := cmd.New("top", "Copaings les plus actifs"). - SetHandler(commands.Top) + SetHandler(commands.Top(ctx)) resetCmd := cmd.New("reset", "Reset l'xp"). SetHandler(commands.Reset). @@ -293,4 +293,8 @@ func main() { if stopPeriodicReducer != nil { stopPeriodicReducer <- true } + + if stopPeriodicSaver != nil { + stopPeriodicSaver <- true + } } |
