aboutsummaryrefslogtreecommitdiffstats
path: root/modules/spanningtree/capab.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-22 10:26:43 +0100
committerGravatar Sadie Powell2024-08-22 11:12:52 +0100
commit6b123d4bc61c2db8e379dd5e681834c4053e661d (patch)
tree77621bb30f54b0c444e31a78b2c5c9a67955b723 /modules/spanningtree/capab.cpp
parentMerge branch 'insp4' into master. (diff)
Use C++20 <format> instead of fmtlib when available.
Diffstat (limited to 'modules/spanningtree/capab.cpp')
-rw-r--r--modules/spanningtree/capab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/spanningtree/capab.cpp b/modules/spanningtree/capab.cpp
index 2be02e29a..5ecd85aa0 100644
--- a/modules/spanningtree/capab.cpp
+++ b/modules/spanningtree/capab.cpp
@@ -484,7 +484,7 @@ bool TreeSocket::Capab(const CommandBase::Params& params)
if (!this->GetTheirChallenge().empty() && (this->LinkState == CONNECTING))
{
this->SendCapabilities(2);
- this->WriteLine(fmt::format("SERVER {} {} {} :{}",
+ this->WriteLine(FMT::format("SERVER {} {} {} :{}",
ServerInstance->Config->ServerName,
TreeSocket::MakePass(capab->link->SendPass, capab->theirchallenge),
ServerInstance->Config->ServerId,
@@ -498,7 +498,7 @@ bool TreeSocket::Capab(const CommandBase::Params& params)
if (this->LinkState == CONNECTING)
{
this->SendCapabilities(2);
- this->WriteLine(fmt::format("SERVER {} {} {} :{}",
+ this->WriteLine(FMT::format("SERVER {} {} {} :{}",
ServerInstance->Config->ServerName,
capab->link->SendPass,
ServerInstance->Config->ServerId,