forked from teamnwah/openmw-tes3coop
[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
|
||||
{
|
||||
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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue