1
This commit is contained in:
parent
7cbb47b330
commit
378aebf6b7
@ -546,6 +546,10 @@ func (this *guildMgr) AsyncLeave(accountId string, cb func(int32, string, []stri
|
|||||||
|
|
||||||
func (this *guildMgr) AsyncSetGuildJob(accountId string, targetId string, guildJob int32,
|
func (this *guildMgr) AsyncSetGuildJob(accountId string, targetId string, guildJob int32,
|
||||||
cb func(int32, string)) {
|
cb func(int32, string)) {
|
||||||
|
if accountId == targetId {
|
||||||
|
cb(0, "")
|
||||||
|
return
|
||||||
|
}
|
||||||
guild := this.internalGetGuildByAccountId(accountId)
|
guild := this.internalGetGuildByAccountId(accountId)
|
||||||
if guild == nil {
|
if guild == nil {
|
||||||
cb(0, "")
|
cb(0, "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user