1
This commit is contained in:
parent
c57b0e8eb7
commit
f57c2ecd10
@ -248,12 +248,12 @@ func (this *guild) asyncLeave(accountId string, cb func(int32, string)) {
|
||||
})
|
||||
}
|
||||
|
||||
func (this *guild) asyncUpdateOwner(owner string, cb func(int32, string)) {
|
||||
func (this *guild) asyncUpdateOwner(ownerId string, cb func(int32, string)) {
|
||||
f5.GetJsStyleDb().Update(
|
||||
constant.FRIEND_DB,
|
||||
"t_guild",
|
||||
[][]string{
|
||||
{"owner_id", owner},
|
||||
{"owner_id", ownerId},
|
||||
},
|
||||
[][]string{
|
||||
{"guild_id", this.guildId},
|
||||
@ -263,6 +263,7 @@ func (this *guild) asyncUpdateOwner(owner string, cb func(int32, string)) {
|
||||
cb(500, "server internal error")
|
||||
return
|
||||
}
|
||||
this.ownerId = ownerId
|
||||
cb(0, "")
|
||||
return
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user