From 99153849bb6ab28445de77989e501c0e21a533ed Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 3 Jun 2019 16:45:39 +0800 Subject: [PATCH] test --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 48c7da2..50d17e3 100644 --- a/client.go +++ b/client.go @@ -16,7 +16,7 @@ func clientSendCWMsg(userID64 int64, s string) { func clientMsgMeAck(m *ChatWarsMessageMeAck) { if _, ok := clientsQueue[m.Msg.UserID64]; ok { - if v, ok := clientsCW[m.Msg.UserID64]; ok { + if v, ok := clientsCW.Load(m.Msg.UserID64); ok { c := v.(*ChatWarsClient) if c.LastUpdate.Before(m.Msg.Date) { c.GuildID64 = m.GuildID64