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:
parent
5dbc1d4c08
commit
89f3502b56
3 changed files with 25 additions and 25 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue