update
This commit is contained in:
@@ -94,6 +94,7 @@ func handleMessage(sender Sender) {
|
||||
if matched {
|
||||
if function.Admin && !sender.IsAdmin() {
|
||||
sender.Reply("没有权限操作")
|
||||
sender.Finish()
|
||||
return
|
||||
}
|
||||
rt := function.Handle(sender)
|
||||
|
||||
Reference in New Issue
Block a user