Fix Lint broken by b662a4577d692329b9ca83525e6039f2ddcd1ac1
[oweals/minetest.git] / src / ban.h
index 5db7179defef48165f2be7e85cb314ed4ac5e5c8..e35bd0e10e2dc135f3967eceff9ea72dccb80063 100644 (file)
--- a/src/ban.h
+++ b/src/ban.h
@@ -21,9 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define BAN_HEADER
 
 #include "util/string.h"
-#include "jthread/jthread.h"
-#include "jthread/jmutex.h"
+#include "threading/thread.h"
+#include "threading/mutex.h"
 #include "exceptions.h"
+#include <map>
+#include <string>
 
 class BanManager
 {
@@ -39,12 +41,12 @@ public:
        void add(const std::string &ip, const std::string &name);
        void remove(const std::string &ip_or_name);
        bool isModified();
+
 private:
-       JMutex m_mutex;
+       Mutex m_mutex;
        std::string m_banfilepath;
        StringMap m_ips;
        bool m_modified;
-
 };
 
 #endif