aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-05-10 11:57:48 +0100
committerGravatar Sadie Powell2023-05-10 11:57:48 +0100
commitfe4c512839f9f613fc5098e5a9d8c9a402e60aa0 (patch)
tree8bf01388c2f66ebfaaa8efd2f47154958ce0bbae /src/modules/m_spanningtree/fjoin.cpp
parentShow more details about unactivated/expired client certificates. (diff)
Rename duration to timeutils and relocate InspIRCd::TimeString.
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index b6d3641cb..62d84c92d 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -24,6 +24,7 @@
#include "inspircd.h"
+#include "timeutils.h"
#include "commands.h"
#include "treeserver.h"
@@ -275,7 +276,7 @@ void CommandFJoin::LowerTS(Channel* chan, time_t TS, const std::string& newname)
{
// WriteRemoteNotice is not used here because the message only needs to go to the local server.
chan->WriteNotice(INSP_FORMAT("Creation time of {} changed from {} to {}", newname,
- InspIRCd::TimeString(chan->age), InspIRCd::TimeString(TS)));
+ Time::ToString(chan->age), Time::ToString(TS)));
}
// While the name is equal in case-insensitive compare, it might differ in case; use the remote version