1
This commit is contained in:
parent
c471082c43
commit
c3c41e70a8
@ -698,6 +698,9 @@ void Player::InternalSendSSMsg(const Friend& friend_data,
|
||||
|
||||
int Player::AddFriend(Friend* friendobj)
|
||||
{
|
||||
if (friendobj->base_data.account_id == AccountId()) {
|
||||
return -2;
|
||||
}
|
||||
if (!GetFriendById(friendobj->base_data.account_id)) {
|
||||
INIT_LIST_HEAD(&friendobj->watch_node);
|
||||
friendobj->crc32_code = a8::openssl::Crc32
|
||||
|
Loading…
x
Reference in New Issue
Block a user