X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=28eeec7c27530eda8cf5cc7212476cd0f86e0de2;hb=4d5b806140bbc41345f841d93e1e4d69fa58a5c3;hp=81f576c32e99fd0a3952c1044f1b045ed41a54ad;hpb=dcc778ed46ba8c1bdeffd37bd6cd287efbba2868;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules.cpp b/src/modules.cpp index 81f576c32..28eeec7c2 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -106,8 +106,6 @@ std::string Event::GetEventID() Module::Module(InspIRCd* Me) : ServerInstance(Me) { } Module::~Module() { } -void Module::OnReadConfig(ServerConfig*, ConfigReader*) { } -int Module::OnDownloadFile(const std::string&, std::istream*&) { return 0; } void Module::OnUserConnect(User*) { } void Module::OnUserQuit(User*, const std::string&, const std::string&) { } void Module::OnUserDisconnect(User*) { } @@ -381,7 +379,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; }