mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-04-21 16:57:17 -05:00
GPCM: Fix wrong session used in addFriend
This commit is contained in:
parent
820ed8a6ac
commit
28c65cc55a
|
|
@ -136,7 +136,7 @@ func (g *GameSpySession) addFriend(command common.GameSpyCommand) {
|
|||
g.sendFriendStatus(newSession.User.ProfileId)
|
||||
}
|
||||
|
||||
g.sendFriendStatus(g.User.ProfileId)
|
||||
newSession.sendFriendStatus(g.User.ProfileId)
|
||||
}
|
||||
|
||||
func (g *GameSpySession) removeFriend(command common.GameSpyCommand) {
|
||||
|
|
|
|||
|
|
@ -228,6 +228,8 @@ func (g *GameSpySession) bestieMessage(command common.GameSpyCommand) {
|
|||
kickPlayer(g.User.ProfileId, resvError)
|
||||
}
|
||||
}
|
||||
|
||||
logging.Warn(g.ModuleName, "RESERVATION: Not allowed:", resvError)
|
||||
// Otherwise generic error?
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user