aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-23 23:48:09 +0000
committerGravatar Sadie Powell2023-01-24 00:12:57 +0000
commit206d31de85192353d03c74766e80513a87dc49b4 (patch)
tree24fdee802c85c29b66a04901147d019e92e30931 /src/modules/m_spanningtree/fjoin.cpp
parentConvert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff)
Convert log calls to use fmtlib format strings
Diffstat (limited to 'src/modules/m_spanningtree/fjoin.cpp')
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index ca06755ca..b6d3641cb 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -132,8 +132,8 @@ CmdResult CommandFJoin::Handle(User* srcuser, Params& params)
time_t ourTS = chan->age;
if (TS != ourTS)
{
- ServerInstance->Logs.Debug(MODNAME, "Merge FJOIN received for %s, ourTS: %lu, TS: %lu, difference: %ld",
- chan->name.c_str(), (unsigned long)ourTS, (unsigned long)TS, (long)(ourTS - TS));
+ ServerInstance->Logs.Debug(MODNAME, "Merge FJOIN received for {}, ourTS: {}, TS: {}, difference: {}",
+ chan->name, ourTS, TS, ourTS - TS);
/* If our TS is less than theirs, we dont accept their modes */
if (ourTS < TS)
{
@@ -142,7 +142,7 @@ CmdResult CommandFJoin::Handle(User* srcuser, Params& params)
// Servers behind us won't react this way because the forwarded FJOIN will have the correct TS.
if (!sourceserver->IsBursting())
{
- ServerInstance->Logs.Debug(MODNAME, "Server %s recreated channel %s with higher TS, resyncing", sourceserver->GetName().c_str(), chan->name.c_str());
+ ServerInstance->Logs.Debug(MODNAME, "Server {} recreated channel {} with higher TS, resyncing", sourceserver->GetName(), chan->name);
sourceserver->GetSocket()->SyncChannel(chan);
}
apply_other_sides_modes = false;