1
This commit is contained in:
parent
1169662eac
commit
e308331638
@ -262,6 +262,14 @@ func (this *guild) asyncUpdateOwner(ownerId string, cb func(int32, string)) {
|
|||||||
|
|
||||||
func (this *guild) getOwnerId() string {
|
func (this *guild) getOwnerId() string {
|
||||||
ownerId := ""
|
ownerId := ""
|
||||||
|
this.traverseMembers(
|
||||||
|
func (m *member) bool {
|
||||||
|
if m.guildJob == constant.GuildMemberLevelLeader {
|
||||||
|
ownerId = m.memberId
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
})
|
||||||
return ownerId
|
return ownerId
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user