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() { func MQTidyKeepAliveWorker() {
//log.Printf("MQTidyKeepAliveWorker : Starting.") //log.Printf("MQTidyKeepAliveWorker : Starting.")
var reloadRules bool var (
err error
reloadRules bool
)
for true { for true {
reloadRules = false reloadRules = false
t := time.Now() t := time.Now()