#include "ban.h"
#include <fstream>
-#include <jmutexautolock.h>
+#include "jthread/jmutexautolock.h"
#include <sstream>
#include <set>
#include "strfnd.h"
+#include "util/string.h"
#include "log.h"
#include "filesys.h"
if(!fs::safeWriteToFile(m_banfilepath, ss.str())) {
infostream<<"BanManager: failed saving to "<<m_banfilepath<<std::endl;
- throw SerializationError("BanManager::load(): Couldn't write file");
+ throw SerializationError("BanManager::save(): Couldn't write file");
}
m_modified = false;