forked from mirror/openmw-tes3mp
[Master] Change Ban structure to vector<string>
This commit is contained in:
parent
4e93905350
commit
26324c2578
1 changed files with 1 additions and 8 deletions
|
@ -13,14 +13,6 @@
|
||||||
class MasterServer
|
class MasterServer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct Ban
|
|
||||||
{
|
|
||||||
RakNet::SystemAddress sa;
|
|
||||||
bool permanent;
|
|
||||||
struct Date
|
|
||||||
{
|
|
||||||
} date;
|
|
||||||
};
|
|
||||||
struct SServer : QueryData
|
struct SServer : QueryData
|
||||||
{
|
{
|
||||||
std::chrono::steady_clock::time_point lastUpdate;
|
std::chrono::steady_clock::time_point lastUpdate;
|
||||||
|
@ -49,6 +41,7 @@ private:
|
||||||
ServerMap servers;
|
ServerMap servers;
|
||||||
bool run;
|
bool run;
|
||||||
std::map<RakNet::RakNetGUID, std::chrono::steady_clock::time_point> pendingACKs;
|
std::map<RakNet::RakNetGUID, std::chrono::steady_clock::time_point> pendingACKs;
|
||||||
|
std::vector<std::string> banned; // does not save on restart
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue