From 4b4515a12bef7d30b4e20fb32496cdaf95c730d8 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Mon, 4 Oct 2021 20:28:05 +0800 Subject: [PATCH] update --- core/push.go | 2 +- core/test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/push.go b/core/push.go index 3ef88d1..d2d0f77 100644 --- a/core/push.go +++ b/core/push.go @@ -31,7 +31,7 @@ func (ct *Chat) Push(content interface{}) { } func NotifyMasters(content string) { - if sillyGirl.GetBool("ignore_notify", true) == true { + if sillyGirl.GetBool("ignore_notify", false) == true { return } for _, class := range []string{"tg", "qq"} { diff --git a/core/test.go b/core/test.go index 0231ff9..ce2a384 100644 --- a/core/test.go +++ b/core/test.go @@ -17,9 +17,9 @@ func init() { if v != "" { vv := strings.Split(v, " ") tp, cd, ud := vv[0], Int(vv[1]), Int(vv[2]) - if tp == "fake" && sillyGirl.GetBool("update_notify", false) == true { // - time.Sleep(time.Second * 10) - NotifyMasters("自动更新完成。") + if tp == "fake" { //&& sillyGirl.GetBool("update_notify", false) == true { // + // time.Sleep(time.Second * 10) + // NotifyMasters("自动更新完成。") return } msg := "重启完成。"