修复DecAccountNum安全隐患
This commit is contained in:
parent
57d1d278ff
commit
aefd7d8878
@ -177,6 +177,8 @@ void PlayerMgr::DecAccountNum(const std::string& account_id)
|
||||
itr->second
|
||||
}
|
||||
);
|
||||
}
|
||||
if (itr->second <= 0) {
|
||||
account_num_hash_.erase(itr);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user