aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_xline_db.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-12 23:19:27 +0100
committerGravatar Sadie Powell2022-09-12 23:26:22 +0100
commit023e3bd22e288a288ad0bd1cc9fd04b7773cab61 (patch)
tree3eb7c03af3c9331e5eb4650f12a5f12e8191390e /src/modules/m_xline_db.cpp
parentMake internal penalty be specified in millisecs instead of seconds. (diff)
parentSend ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_xline_db.cpp')
-rw-r--r--src/modules/m_xline_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index f055ff804..41d50b8f4 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -106,7 +106,7 @@ public:
* -- w00t
*/
ServerInstance->Logs.Debug(MODNAME, "Opening temporary database");
- std::string xlinenewdbpath = xlinedbpath + ".new";
+ const std::string xlinenewdbpath = xlinedbpath + ".new." + ConvToStr(ServerInstance->Time());
std::ofstream stream(xlinenewdbpath);
if (!stream.is_open())
{