From fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 10 May 2023 11:57:48 +0100 Subject: Rename duration to timeutils and relocate InspIRCd::TimeString. --- src/modules/m_spanningtree/fjoin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/fjoin.cpp') 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 -- cgit v1.3.1-10-gc9f91