From d4088edc1a9f1620a46f457fb1516c269bdf420e Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 16 May 2019 10:07:25 +0800 Subject: [PATCH] typo --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 08ff692..313bd99 100644 --- a/main.go +++ b/main.go @@ -46,7 +46,7 @@ var ( ownUserID32 = int32(0) lastOwnTDMsg time.Time MQCWMsgQueue chan ChatWarsMessage - MQTDCmdQueue chan TDCommand + MQTGCmdQueue chan TGCommand ) func main() { @@ -127,15 +127,15 @@ func main() { return } - MQTDCmdQueue = make(chan TDCommand, 100) + MQTGCmdQueue = make(chan TGCommand, 100) for w := 1; w <= 3; w++ { - go MQReceiveMsgWorker(w, MQTDCmdQueue) + go MQReceiveMsgWorker(w, MQTGCmdQueue) } lastOwnTDMsg = time.Now() go ListenCW(client) - go ListenMQ(client, MQTDCmdQueue) + go ListenMQ(client, MQTGCmdQueue) go ListenMe(client) fmt.Println("Started !")