diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-03 20:16:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-03 20:16:58 +0000 |
commit | e65eee7e8db55e90dfef2b818394b8224b367766 (patch) | |
tree | bfd3511448cd502fd97629e72e42ff692779f15a | |
parent | 62691675e31d183c0a44425c4594767ad0ba2e0b (diff) |
Change the 'is not within the modules dir' message to something less obscure that explains the problem: "Module <file> is not in the module directory that i am configured to look in (is <path> really a symlink?)"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9290 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 81f576c32..4cbe8d7f6 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -381,7 +381,7 @@ bool ModuleManager::Load(const char* filename) if (!ServerConfig::DirValid(modfile)) { - LastModuleError = "Module " + filename_str + " is not within the modules directory."; + 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; } |