This commit is contained in:
cdle
2021-10-20 22:11:26 +08:00
parent 904bdc20c8
commit 08539aa305
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ func init() {
{
Rules: rules,
Handle: func(s Sender) interface{} {
s.Delete()
if !s.IsAdmin() {
s.Delete()
}
return nil
},
},