mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-05-06 05:26:33 -05:00
Removed aggressive friend check
This commit is contained in:
parent
fa543eb483
commit
2302f38f94
|
|
@ -38,11 +38,11 @@ func (g *GameSpySession) bestieMessage(command common.GameSpyCommand) {
|
|||
return
|
||||
}
|
||||
|
||||
if !g.isFriendAuthorized(uint32(toProfileId)) {
|
||||
logging.Error(g.ModuleName, "Destination", aurora.Cyan(toProfileId), "is not even on sender's friend list")
|
||||
g.replyError(ErrMessageNotFriends)
|
||||
return
|
||||
}
|
||||
// if !g.isFriendAuthorized(uint32(toProfileId)) {
|
||||
// logging.Error(g.ModuleName, "Destination", aurora.Cyan(toProfileId), "is not even on sender's friend list")
|
||||
// g.replyError(ErrMessageNotFriends)
|
||||
// return
|
||||
// }
|
||||
|
||||
msg, ok := command.OtherValues["msg"]
|
||||
if !ok || msg == "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user