From e5df290f90703bcc5fb11a31b0228896ce579494 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Thu, 14 Oct 2021 15:26:57 +0800 Subject: [PATCH] update --- core/push.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/push.go b/core/push.go index aed927d..6a20c68 100644 --- a/core/push.go +++ b/core/push.go @@ -48,10 +48,9 @@ func NotifyMasters(content string) { if notify == "" { notify = Bucket(class).Get("masters") } - for _, v := range strings.Split(notify, "&") { if push, ok := Pushs[class]; ok { - push(v[1], content) + push(v, content) } } }