From ecc9b8a1805177850c0d7d22abe50bd3f8306b60 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 16 Jan 2020 17:15:25 +0800 Subject: [PATCH] fix --- client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/client.go b/client.go index 1fb8f03..1341aa3 100644 --- a/client.go +++ b/client.go @@ -56,7 +56,6 @@ func getLockedRandomClient() (*ChirpClient, error) { func setClientBusy(userID64 int64, from time.Time, duration time.Duration) error { if clt, ok := getLockedClient(userID64, false); ok { - t := time.Now().UTC() if from.UTC().Add(duration).After(time.Now().UTC()) { clt.CWIdle = false clt.CWBusyUntil = from.UTC().Add(duration)