1
This commit is contained in:
parent
f57c2ecd10
commit
7f0e0d0e4a
@ -70,10 +70,10 @@ func (this *guild) traverseMembers(cb func(*member) bool) {
|
||||
}
|
||||
|
||||
func (this *guild) isOwner(accountId string) bool {
|
||||
if this.getMember(accountId) == nil {
|
||||
return false
|
||||
if m := this.getMember(accountId); m != nil {
|
||||
return m.guildJob == constant.GuildMemberLevelLeader
|
||||
}
|
||||
return this.ownerId == accountId
|
||||
return false
|
||||
}
|
||||
|
||||
func (this *guild) updateByKv(kv map[int32]string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user