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