test
This commit is contained in:
parent
8e63a0cd76
commit
99153849bb
@ -16,7 +16,7 @@ func clientSendCWMsg(userID64 int64, s string) {
|
|||||||
|
|
||||||
func clientMsgMeAck(m *ChatWarsMessageMeAck) {
|
func clientMsgMeAck(m *ChatWarsMessageMeAck) {
|
||||||
if _, ok := clientsQueue[m.Msg.UserID64]; ok {
|
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)
|
c := v.(*ChatWarsClient)
|
||||||
if c.LastUpdate.Before(m.Msg.Date) {
|
if c.LastUpdate.Before(m.Msg.Date) {
|
||||||
c.GuildID64 = m.GuildID64
|
c.GuildID64 = m.GuildID64
|
||||||
|
Loading…
Reference in New Issue
Block a user