From 5472f20964ce3e0f73ccc663655064b4f52cba93 Mon Sep 17 00:00:00 2001 From: Dot-Rar Date: Fri, 17 Jan 2020 23:21:49 +0000 Subject: [PATCH] bug fix --- utils/premiumutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/premiumutils.go b/utils/premiumutils.go index 115a277..8c140ef 100644 --- a/utils/premiumutils.go +++ b/utils/premiumutils.go @@ -69,7 +69,7 @@ func IsPremiumGuild(store sessions.Session, guildIdRaw string, ch chan bool) { } hasVoted := make(chan bool) - table.HasVoted(ownerId, hasVoted) + go table.HasVoted(ownerId, hasVoted) if <-hasVoted { ch <- true