mirror of
https://github.com/anope/anope.git
synced 2026-06-26 14:16:39 +02:00
Sync the build system directory names with the core.
This commit is contained in:
@@ -55,7 +55,7 @@ void ModuleManager::CleanupRuntimeDirectory()
|
||||
*/
|
||||
static ModuleReturn moduleCopyFile(const Anope::string &name, Anope::string &output)
|
||||
{
|
||||
const auto input = Anope::ExpandModule("modules/" + name + DLL_EXT);
|
||||
const auto input = Anope::ExpandModule(name + DLL_EXT);
|
||||
|
||||
struct stat s;
|
||||
if (stat(input.c_str(), &s) == -1)
|
||||
@@ -146,7 +146,7 @@ ModuleReturn ModuleManager::LoadModule(const Anope::string &modname, User *u)
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
const auto pbuf = Anope::ExpandModule("modules/" + modname + DLL_EXT);
|
||||
const auto pbuf = Anope::ExpandModule(modname + DLL_EXT);
|
||||
#endif
|
||||
|
||||
dlerror();
|
||||
|
||||
Reference in New Issue
Block a user