1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 02:36:38 +02:00

Fix the Windows build.

This commit is contained in:
Sadie Powell
2024-03-19 15:58:41 +00:00
parent bfed2e1bf5
commit 1a3844e74e
+1 -1
View File
@@ -133,7 +133,7 @@ ModuleReturn ModuleManager::LoadModule(const Anope::string &modname, User *u)
#ifdef _WIN32
/* Generate the filename for the temporary copy of the module */
const auto pbuf = Anope::ExpandData("runtime/" + modname + DLL_EXT ".XXXXXX");
auto pbuf = Anope::ExpandData("runtime/" + modname + DLL_EXT ".XXXXXX");
/* Don't skip return value checking! -GD */
ModuleReturn ret = moduleCopyFile(modname, pbuf);