update
This commit is contained in:
+1
-1
@@ -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"} {
|
||||
|
||||
+3
-3
@@ -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 := "重启完成。"
|
||||
|
||||
Reference in New Issue
Block a user