summaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-04-02 16:50:24 +0100
committerSadie Powell <sadie@witchery.services>2024-04-02 16:52:41 +0100
commitc08aaa86d1ada72ad6e185837f9c179693b60c22 (patch)
tree28f7a8ba882942eb8622e6f08e43aef97df5946d /src/modulemanager.cpp
parent87a8af0ad71a11c248ba94c9ba20668dcb0fe831 (diff)
Sync the build system directory names with the core.
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp4
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();