diff --git a/server/imserver/player.cc b/server/imserver/player.cc index 1215f17..8a21614 100644 --- a/server/imserver/player.cc +++ b/server/imserver/player.cc @@ -209,8 +209,8 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms apply.base_data.user_value1 = a8::XValue(row[8]); apply.base_data.user_value2 = a8::XValue(row[9]); apply.base_data.user_value3 = a8::XValue(row[10]); - #if 0 hum->apply_list_.push_back(apply); + #if 0 if (apply.idx > hum->last_apply_idx_) { hum->last_apply_idx_ = apply.idx; } @@ -219,6 +219,7 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms cs::SMFriendApplyList respmsg; hum->FillApplyList(*paging, respmsg); hum->SendMsg(respmsg); + hum->apply_list_.clear(); } delete paging; };