1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Move Server ban check to different point

This commit is contained in:
sfan5 2024-01-24 19:39:28 +01:00
parent 5dbc1d4c08
commit 89f3502b56
3 changed files with 25 additions and 25 deletions

View file

@ -245,6 +245,7 @@ public:
void setIpBanned(const std::string &ip, const std::string &name);
void unsetIpBanned(const std::string &ip_or_name);
std::string getBanDescription(const std::string &ip_or_name);
bool denyIfBanned(session_t peer_id);
void notifyPlayer(const char *name, const std::wstring &msg);
void notifyPlayers(const std::wstring &msg);