[Master] Change Ban structure to vector<string>

This commit is contained in:
Koncord 2017-09-12 20:23:17 +08:00
parent 4e93905350
commit 26324c2578

View file

@ -13,14 +13,6 @@
class MasterServer
{
public:
struct Ban
{
RakNet::SystemAddress sa;
bool permanent;
struct Date
{
} date;
};
struct SServer : QueryData
{
std::chrono::steady_clock::time_point lastUpdate;
@ -49,6 +41,7 @@ private:
ServerMap servers;
bool run;
std::map<RakNet::RakNetGUID, std::chrono::steady_clock::time_point> pendingACKs;
std::vector<std::string> banned; // does not save on restart
};