From bea1f95b8559c1bee90274fc00eab1750ff31ba9 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 15 Dec 2019 15:40:43 +0800 Subject: [PATCH] fix --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 3c605f5..9e30e31 100644 --- a/client.go +++ b/client.go @@ -40,7 +40,7 @@ func getLockedIdleClient() (*ChirpClient, error) { ids := make([]int64, 0) for id, c := range clients { if c.CWIdle { - ids := append(ids, c.TGUserID64) + ids = append(ids, c.TGUserID64) } } muxClients.RUnlock()