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/capab.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/capab.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/capab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index 5ae7f5ff0..a59a73a3b 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -528,9 +528,9 @@ bool TreeSocket::Capab(const CommandBase::Params& params) if (Utils->AllowOptCommon) { ServerInstance->SNO.WriteToSnoMask('l', - "ExtBan lists do not match, some bans/exemptions may not work globally.%s%s%s%s", - missing_here.length() ? " Not loaded here:" : "", missing_here.c_str(), - missing_there.length() ? " Not loaded there:" : "", missing_there.c_str()); + "ExtBan lists do not match, some bans/exemptions may not work globally.{}{}{}{}", + missing_here.length() ? " Not loaded here:" : "", missing_here, + missing_there.length() ? " Not loaded there:" : "", missing_there); } else { |
