fix var declaration

This commit is contained in:
shoopea 2020-02-10 10:58:51 +08:00
parent 3709bbc1f9
commit 77dc965ff8

View File

@ -731,7 +731,10 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
func MQTidyKeepAliveWorker() {
//log.Printf("MQTidyKeepAliveWorker : Starting.")
var reloadRules bool
var (
err error
reloadRules bool
)
for true {
reloadRules = false
t := time.Now()