]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/infrastructure/powerbot/bot.go
Fix constant type.
[xonotic/xonotic.git] / 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 {