update
This commit is contained in:
+3
-1
@@ -14,7 +14,9 @@ func init() {
|
|||||||
{
|
{
|
||||||
Rules: rules,
|
Rules: rules,
|
||||||
Handle: func(s Sender) interface{} {
|
Handle: func(s Sender) interface{} {
|
||||||
s.Delete()
|
if !s.IsAdmin() {
|
||||||
|
s.Delete()
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -209,6 +209,9 @@ func init() {
|
|||||||
}
|
}
|
||||||
tasks := map[string]Cron{}
|
tasks := map[string]Cron{}
|
||||||
for i := range crons {
|
for i := range crons {
|
||||||
|
if strings.Contains(crons[i].Name, "傻妞") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if crons[i].IsDisabled != 0 {
|
if crons[i].IsDisabled != 0 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user