summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-04-03 20:16:58 +0000
committerGravatar brain2008-04-03 20:16:58 +0000
commite65eee7e8db55e90dfef2b818394b8224b367766 (patch)
treebfd3511448cd502fd97629e72e42ff692779f15a /src/modules.cpp
parentPatch to fix this module from flagging all client sockets as xml (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
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
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;
}