]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_xline_db.cpp
m_spanningtree Send, parse and translate IJOINs with membership ids
[user/henk/code/inspircd.git] / src / modules / m_xline_db.cpp
index d482dca2bf047a5333483a598c9b4bcc02373b63..1a7fd8cc5f9c6c8d46a94581ddf3b320aa7664e8 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());
@@ -166,7 +166,7 @@ class ModuleXLineDB : public Module
                        ServerInstance->SNO->WriteToSnoMask('a', "database: cannot read db: %s (%d)", strerror(errno), errno);
                        return false;
                }
-               
+
                std::string line;
                while (std::getline(stream, line))
                {