aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-23 07:42:07 +0000
committerGravatar Sadie Powell2023-01-23 13:07:53 +0000
commit5c4badf8ea3ba775854f0d26d3f2e0e119584faa (patch)
tree05dd2c5c545f12f71866be6422146477ddd30e3f /src/modules/m_spanningtree/fjoin.cpp
parentVendor the fmtlib library. (diff)
Replace InspIRCd::Format with fmt::format.
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp6
1 files changed, 4 insertions, 2 deletions
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