]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/ban.h
Fix bug when craft input isn't replaced
[dragonfireclient.git] / src / ban.h
index 529635c266b5f48a0b1aaac31df0bbbce6cf32ad..5db7179defef48165f2be7e85cb314ed4ac5e5c8 100644 (file)
--- a/src/ban.h
+++ b/src/ban.h
@@ -20,10 +20,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef BAN_HEADER
 #define BAN_HEADER
 
-#include <map>
-#include <string>
-#include <jthread.h>
-#include <jmutex.h>
+#include "util/string.h"
+#include "jthread/jthread.h"
+#include "jthread/jmutex.h"
 #include "exceptions.h"
 
 class BanManager
@@ -43,7 +42,7 @@ class BanManager
 private:
        JMutex m_mutex;
        std::string m_banfilepath;
-       std::map<std::string, std::string> m_ips;
+       StringMap m_ips;
        bool m_modified;
 
 };