diff options
| author | 2023-01-23 11:09:17 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 9db9d5abe4abd975cd8725283f2efcd4bcae5f8e (patch) | |
| tree | 8ba590ee769bdbe5338cfcfecc68a395386c3425 /src/modules/m_spanningtree/server.cpp | |
| parent | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff) | |
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/modules/m_spanningtree/server.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/server.cpp b/src/modules/m_spanningtree/server.cpp index 162fd92ee..ab5111622 100644 --- a/src/modules/m_spanningtree/server.cpp +++ b/src/modules/m_spanningtree/server.cpp @@ -124,7 +124,7 @@ std::shared_ptr<Link> TreeSocket::AuthRemote(const CommandBase::Params& params) if (!ComparePass(*x, password)) { - ServerInstance->SNO.WriteToSnoMask('l', "Invalid password on link: %s", x->Name.c_str()); + ServerInstance->SNO.WriteToSnoMask('l', "Invalid password on link: {}", x->Name); continue; } @@ -136,7 +136,7 @@ std::shared_ptr<Link> TreeSocket::AuthRemote(const CommandBase::Params& params) { std::string ciphersuite; ssliohook->GetCiphersuite(ciphersuite); - ServerInstance->SNO.WriteToSnoMask('l', "Negotiated ciphersuite %s on link %s", ciphersuite.c_str(), x->Name.c_str()); + ServerInstance->SNO.WriteToSnoMask('l', "Negotiated ciphersuite {} on link {}", ciphersuite, x->Name); } else if (!capab->remotesa.is_local()) { |
