This commit is contained in:
shoopea 2019-05-17 16:13:14 +08:00
parent 9b15c990cc
commit 5be31ada11

View File

@ -334,7 +334,7 @@ func MQTidyKeepAliveWorker() {
Text: "Timeout, purging and closing command queue.", Text: "Timeout, purging and closing command queue.",
} }
TGCmdQueue <- c TGCmdQueue <- c
c := TGCommand{ c = TGCommand{
Type: commandSendMsg, Type: commandSendMsg,
ToUserID64: cfg.Bot.Admin, ToUserID64: cfg.Bot.Admin,
Text: fmt.Sprintf("Client %s timed out (%d messages purged).", v.Nickname, msgs), Text: fmt.Sprintf("Client %s timed out (%d messages purged).", v.Nickname, msgs),