From 1cf64a49c00c37ecfcc2a49ab746ee58f748633b Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 12 May 2026 14:20:21 +0100 Subject: [PATCH] Fix the unique runtime library names on Windows. --- src/modulemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index f309a0e50..868264fa4 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -88,7 +88,7 @@ ModuleReturn ModuleManager::LoadModule(const Anope::string &modname, User *u) #ifdef _WIN32 /* Generate the filename for the temporary copy of the module */ - auto pbuf = Anope::ExpandData("runtime/" + modname + DLL_EXT ".XXXXXX"); + auto pbuf = Anope::ExpandData("runtime/" + modname + "." + Anope::ToString(Anope::CurTime) + DLL_EXT); if (!fs::copy_file(modpath.str(), pbuf.str(), fs::copy_options::overwrite_existing, ec) || ec) { Log(LOG_TERMINAL) << "Error while copying " << modname << " from " << modpath