mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[core] Fix missing timer configuration for permits
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
996cc2877d
commit
fdf3d95322
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ func loadConfig(filename string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
config = tmpConfig
|
config = tmpConfig
|
||||||
|
timerService.UpdatePermitTimeout(tmpConfig.PermitTimeout)
|
||||||
|
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"auto_messages": len(config.AutoMessages),
|
"auto_messages": len(config.AutoMessages),
|
||||||
|
|
Loading…
Reference in a new issue