From 6b123d4bc61c2db8e379dd5e681834c4053e661d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Aug 2024 10:26:43 +0100 Subject: Use C++20 instead of fmtlib when available. --- modules/spanningtree/capab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/spanningtree/capab.cpp') 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, -- cgit v1.3.1-10-gc9f91