From e65eee7e8db55e90dfef2b818394b8224b367766 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 3 Apr 2008 20:16:58 +0000 Subject: Change the 'is not within the modules dir' message to something less obscure that explains the problem: "Module is not in the module directory that i am configured to look in (is really a symlink?)" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9290 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') 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; } -- cgit v1.3.1-10-gc9f91