1
0
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:
Sadie Powell
2024-04-02 16:50:24 +01:00
parent 87a8af0ad7
commit c08aaa86d1
5 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -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();