This commit is contained in:
cdle
2021-09-20 18:29:46 +08:00
parent e9ca8d7fc9
commit 7324348556
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -94,6 +94,7 @@ func handleMessage(sender Sender) {
if matched {
if function.Admin && !sender.IsAdmin() {
sender.Reply("没有权限操作")
sender.Finish()
return
}
rt := function.Handle(sender)