From 5c4badf8ea3ba775854f0d26d3f2e0e119584faa Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 07:42:07 +0000 Subject: Replace InspIRCd::Format with fmt::format. --- src/modules/m_spanningtree/fjoin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 c2152cf54..ca06755ca 100644 --- a/src/modules/m_spanningtree/fjoin.cpp +++ b/src/modules/m_spanningtree/fjoin.cpp @@ -22,7 +22,9 @@ */ + #include "inspircd.h" + #include "commands.h" #include "treeserver.h" #include "treesocket.h" @@ -272,8 +274,8 @@ void CommandFJoin::LowerTS(Channel* chan, time_t TS, const std::string& newname) if (Utils->AnnounceTSChange) { // WriteRemoteNotice is not used here because the message only needs to go to the local server. - chan->WriteNotice(InspIRCd::Format("Creation time of %s changed from %s to %s", newname.c_str(), - InspIRCd::TimeString(chan->age).c_str(), InspIRCd::TimeString(TS).c_str())); + chan->WriteNotice(INSP_FORMAT("Creation time of {} changed from {} to {}", newname, + InspIRCd::TimeString(chan->age), InspIRCd::TimeString(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