]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules.cpp
OK, it's more useful if this compiles...
[user/henk/code/inspircd.git] / src / modules.cpp
index 5d61812c026976aee26067f16f1d3c5aef29b5f1..71f4d7524d7ef00bf53eb803cdbab3889de54e1a 100644 (file)
@@ -397,13 +397,6 @@ bool ModuleManager::Load(const char* filename)
        snprintf(modfile,MAXBUF,"%s/%s",Instance->Config->ModPath,filename);
        std::string filename_str = filename;
 
-       if (!ServerConfig::DirValid(modfile))
-       {
-               LastModuleError = "Module " + std::string(filename) + " is not in the module directory that i am configured to look in (is "+Instance->Config->ModPath+" really a symlink?)";
-               Instance->Logs->Log("MODULE", DEFAULT, LastModuleError);
-               return false;
-       }
-
        if (!ServerConfig::FileExists(modfile))
        {
                LastModuleError = "Module file could not be found: " + filename_str;