From 6fe3867434ba1150f36eb33829aa73ed727103fe Mon Sep 17 00:00:00 2001 From: Dot-Rar Date: Sun, 9 Feb 2020 15:11:05 +0000 Subject: [PATCH] disregard votes --- utils/premiumutils.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/premiumutils.go b/utils/premiumutils.go index 8c140ef..a3f1466 100644 --- a/utils/premiumutils.go +++ b/utils/premiumutils.go @@ -61,8 +61,9 @@ func IsPremiumGuild(store sessions.Session, guildIdRaw string, ch chan bool) { go redis.Client.StoreGuild(g) } + // TODO: Find a way to stop people using votes to exploit panels // Lookup votes - ownerId, err := strconv.ParseInt(ownerIdRaw, 10, 64); if err != nil { + /*ownerId, err := strconv.ParseInt(ownerIdRaw, 10, 64); if err != nil { fmt.Println(err.Error()) ch <- false return @@ -78,7 +79,7 @@ func IsPremiumGuild(store sessions.Session, guildIdRaw string, ch chan bool) { } return - } + }*/ // Lookup Patreon client := &http.Client{