aboutsummaryrefslogtreecommitdiff
path: root/src/lua
Commit message (Expand)AuthorAge
* Clean up and tweak build systemShadowNinja2015-03-27
* Make Clang happy with lua lauxlib.c.Loic Blot2015-02-12
* Enable LUA_USE_POSIX if possible in bundled Luaest312015-02-12
* Add support for Android 2.3+sapier2014-06-29
* Improve build configuration optionsPerttu Ahola2012-07-23
* cmake: lua: use COMMON_CFLAGSJonathan Neuschäfer2012-03-31
* Do not install the static lua library filePerttu Ahola2011-11-29
* Make it actually buildPerttu Ahola2011-11-29
* Add LuaPerttu Ahola2011-11-29
* Removed lua stuffPerttu Ahola2011-04-03
* modified the build system of lua to a more minimal onePerttu Ahola2011-02-24
* preliminary lua scripting framework for objectsPerttu Ahola2011-02-21
span> 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: std::mutex m_mutex; std::string m_banfilepath; StringMap m_ips; bool m_modified; }; #endif