diff --git a/main.go b/main.go index 1a3c6c9..10029ff 100644 --- a/main.go +++ b/main.go @@ -39,7 +39,7 @@ var ( lastOwnTDMsg time.Time lastOwnTDMsgMux sync.Mutex lastChatTDMsg map[int64]time.Time - lastChatTDMsgMux map[int64]sync.Mutex + lastChatTDMsgMux map[int64]*sync.Mutex lastChatMsgMux sync.RWMutex MQCWMsgQueue chan ChatWarsMessage MQTGCmdQueue chan TGCommand