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 := "重启完成。"