1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

update retry message.

This commit is contained in:
Mrs4s 2021-09-15 13:45:04 +08:00
parent 449ae96c8f
commit 7485b51c48
No known key found for this signature in database
GPG Key ID: 3186E98FA19CE3A7

View File

@ -310,6 +310,7 @@ func main() {
time.Sleep(time.Second * time.Duration(conf.Account.ReLogin.Delay))
for {
if conf.Account.ReLogin.Disabled {
log.Warnf("未启用自动重连, 将退出.")
os.Exit(1)
}
if times > conf.Account.ReLogin.MaxTimes && conf.Account.ReLogin.MaxTimes != 0 {