fix: 去除守护模式重复的网络检查

This commit is contained in:
Mmx
2021-09-19 23:35:05 +08:00
parent 005e7953ad
commit 12e9b00324
3 changed files with 9 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ func Guardian(output bool) {
}()
if !util.Checker.NetOk() {
util.Log.Println("Network down, trying to login")
_ = Login(output)
_ = Login(output, true)
} else {
if global.Config.Settings.DemoMode {
util.Log.Println("Network ok")