debug client revamping
This commit is contained in:
parent
1102fd47a5
commit
30e621c539
@ -590,14 +590,14 @@ func MQTidyKeepAliveWorker() {
|
||||
cmd = TGCommand{
|
||||
Type: commandSendMsg,
|
||||
ToUserID64: cfg.Bot.Admin,
|
||||
Text: fmt.Sprintf("Client %s timed out (%d messages purged).", clt.MQ.User, msgs),
|
||||
Text: fmt.Sprintf("Client %s timed out (%d messages purged).", clt.Login, msgs),
|
||||
}
|
||||
TGCmdQueue <- cmd
|
||||
clt.Active = false
|
||||
} else if clt.Active {
|
||||
log.Printf("MQTidyKeepAliveWorker : Client %s is active.\n", clt.MQ.User)
|
||||
log.Printf("MQTidyKeepAliveWorker : Client %s is active.\n", clt.Login)
|
||||
} else {
|
||||
log.Printf("MQTidyKeepAliveWorker : Client %s is inactive.\n", clt.MQ.User)
|
||||
log.Printf("MQTidyKeepAliveWorker : Client %s is inactive.\n", clt.Login)
|
||||
}
|
||||
clt.Mux.Unlock()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user