]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_xline_db.cpp
Move stuff around a bit:
[user/henk/code/inspircd.git] / src / modules / m_xline_db.cpp
index d482dca2bf047a5333483a598c9b4bcc02373b63..222bbe17bd5020e1022efccd7571767b55d2dfe6 100644 (file)
@@ -156,7 +156,7 @@ class ModuleXLineDB : public Module
        bool ReadDatabase()
        {
                // If the xline database doesn't exist then we don't need to load it.
-               if (!ServerConfig::FileExists(xlinedbpath.c_str()))
+               if (!FileSystem::FileExists(xlinedbpath))
                        return true;
 
                std::ifstream stream(xlinedbpath.c_str());