aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testnodes/textures/testnodes_rail_crossing.png
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods/testnodes/textures/testnodes_rail_crossing.png')
0 files changed, 0 insertions, 0 deletions
ion, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef BAN_HEADER #define BAN_HEADER #include <map> #include <string> #include <jthread.h> #include <jmutex.h> #include "common_irrlicht.h" #include "exceptions.h" class BanManager { public: BanManager(const std::string &bannfilepath); ~BanManager(); void load(); void save(); bool isIpBanned(const std::string &ip); // Supplying ip_or_name = "" lists all bans. std::string getBanDescription(const std::string &ip_or_name); std::string getBanName(const std::string &ip); void add(const std::string &ip, const std::string &name); void remove(const std::string &ip_or_name); bool isModified(); private: JMutex m_mutex;