1
This commit is contained in:
parent
cadae56c6a
commit
2a76ccfdb4
@ -302,9 +302,8 @@ void Player::_CMFriendAgree(f8::MsgHdr& hdr, const cs::CMFriendAgree& msg)
|
|||||||
DBEngine::Instance()->ExecAsyncScript
|
DBEngine::Instance()->ExecAsyncScript
|
||||||
(
|
(
|
||||||
conn_info,
|
conn_info,
|
||||||
"UPDATE `friend_apply` SET status=1 WHERE idx=%d AND target_id='%s' AND sender_id='%s';",
|
"UPDATE `friend_apply` SET status=1 WHERE target_id='%s' AND sender_id='%s';",
|
||||||
{
|
{
|
||||||
msg.apply().idx(),
|
|
||||||
msg.apply().target_id(),
|
msg.apply().target_id(),
|
||||||
msg.apply().base_data().account_id(),
|
msg.apply().base_data().account_id(),
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user