aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
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