diff --git a/workers.go b/workers.go index eb8d91b..994d8fd 100644 --- a/workers.go +++ b/workers.go @@ -595,8 +595,10 @@ func MQTidyKeepAliveWorker() { } TGCmdQueue <- cmd clt.Active = false + } else if clt.Active { + log.Printf("MQTidyKeepAliveWorker : Client %s is active.\n", clt.MQ.User) } else { - log.Printf("MQTidyKeepAliveWorker : Client %s inactive.\n", clt.MQ.User) + log.Printf("MQTidyKeepAliveWorker : Client %s is inactive.\n", clt.MQ.User) } clt.Mux.Unlock() }