]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Fix constant type.
authorRudolf Polzer <divVerent@gmail.com>
Sat, 30 Sep 2023 10:53:47 +0000 (12:53 +0200)
committerRudolf Polzer <divVerent@gmail.com>
Sat, 30 Sep 2023 10:53:47 +0000 (12:53 +0200)
misc/infrastructure/powerbot/bot.go

index f303b0be635e183c3da6cc850cbde67d174e03ed..6ea17bc1955fbd0299e77d97a63cc035e7d993f8 100644 (file)
@@ -15,7 +15,7 @@ import (
 
 const (
        syncInterval       = time.Minute
-       syncForceFrequency = 7 * 24 * time.Hour / syncInterval
+       syncForceFrequency = int(7 * 24 * time.Hour / syncInterval)
 )
 
 type Config struct {