1
This commit is contained in:
parent
410dc67362
commit
4cf0746b3b
@ -535,6 +535,10 @@ func (this *guildMgr) AsyncKickout(accountId string, targetId string, cb func(in
|
|||||||
cb(0, "")
|
cb(0, "")
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if accountId == targetId {
|
||||||
|
cb(0, "")
|
||||||
|
return;
|
||||||
|
}
|
||||||
if !guild.isOwner(accountId) {
|
if !guild.isOwner(accountId) {
|
||||||
cb(0, "")
|
cb(0, "")
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user