diff options
author | Sadie Powell <sadie@witchery.services> | 2024-04-02 16:50:24 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-04-02 16:52:41 +0100 |
commit | c08aaa86d1ada72ad6e185837f9c179693b60c22 (patch) | |
tree | 28f7a8ba882942eb8622e6f08e43aef97df5946d /src | |
parent | 87a8af0ad71a11c248ba94c9ba20668dcb0fe831 (diff) |
Sync the build system directory names with the core.
Diffstat (limited to 'src')
-rw-r--r-- | src/modulemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 4ceae6417..af7b1f811 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -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(); |