From: Rudolf Polzer Date: Sat, 30 Sep 2023 10:53:47 +0000 (+0200) Subject: Fix constant type. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4a048096c268fcd5be9fbf59645c33c207be7914;p=xonotic%2Fxonotic.git Fix constant type. --- diff --git a/misc/infrastructure/powerbot/bot.go b/misc/infrastructure/powerbot/bot.go index f303b0be..6ea17bc1 100644 --- a/misc/infrastructure/powerbot/bot.go +++ b/misc/infrastructure/powerbot/bot.go @@ -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 {