This commit is contained in:
aozhiwei 2024-04-09 13:25:03 +08:00
parent 410dc67362
commit 4cf0746b3b

View File

@ -535,6 +535,10 @@ func (this *guildMgr) AsyncKickout(accountId string, targetId string, cb func(in
cb(0, "")
return;
}
if accountId == targetId {
cb(0, "")
return;
}
if !guild.isOwner(accountId) {
cb(0, "")
return;