]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_dynamic.cpp
Move stuff around a bit:
[user/henk/code/inspircd.git] / src / modmanager_dynamic.cpp
index de2593d7236e50946fdf87a93718debca05a438c..0d0042cabac0c9e93b6a2a53e9df07caa1f4c3f0 100644 (file)
@@ -39,7 +39,7 @@ bool ModuleManager::Load(const std::string& filename, bool defer)
 
        const std::string moduleFile = ServerInstance->Config->Paths.PrependModule(filename);
 
-       if (!ServerConfig::FileExists(moduleFile.c_str()))
+       if (!FileSystem::FileExists(moduleFile))
        {
                LastModuleError = "Module file could not be found: " + filename;
                ServerInstance->Logs->Log("MODULE", LOG_DEFAULT, LastModuleError);