diff --git a/workers.go b/workers.go index 31a9110..2cb0190 100644 --- a/workers.go +++ b/workers.go @@ -334,7 +334,7 @@ func MQTidyKeepAliveWorker() { Text: "Timeout, purging and closing command queue.", } TGCmdQueue <- c - c := TGCommand{ + c = TGCommand{ Type: commandSendMsg, ToUserID64: cfg.Bot.Admin, Text: fmt.Sprintf("Client %s timed out (%d messages purged).", v.Nickname, msgs),