Home
last modified time | relevance | path

Searched refs:xlinedbpath (Results 1 – 1 of 1) sorted by relevance

/dports/irc/inspircd/inspircd-3.11.0/src/modules/
H A Dm_xline_db.cpp40 std::string xlinedbpath; member in ModuleXLineDB
57xlinedbpath = ServerInstance->Config->Paths.PrependData(Conf->getString("filename", "xline.db", 1)… in init()
106 std::string xlinenewdbpath = xlinedbpath + ".new"; in WriteDatabase()
157 remove(xlinedbpath.c_str()); in WriteDatabase()
160 if (rename(xlinenewdbpath.c_str(), xlinedbpath.c_str()) < 0) in WriteDatabase()
162 …Cannot replace old database \"%s\" with new database \"%s\"! %s (%d)", xlinedbpath.c_str(), xlinen… in WriteDatabase()
163 …base: cannot replace old xline db \"%s\" with new db \"%s\": %s (%d)", xlinedbpath.c_str(), xlinen… in WriteDatabase()
173 if (!FileSystem::FileExists(xlinedbpath)) in ReadDatabase()
176 std::ifstream stream(xlinedbpath.c_str()); in ReadDatabase()
179 …>Logs->Log(MODNAME, LOG_DEBUG, "Cannot read database \"%s\"! %s (%d)", xlinedbpath.c_str(), strerr… in ReadDatabase()
[all …]