From 9db9d5abe4abd975cd8725283f2efcd4bcae5f8e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 11:09:17 +0000 Subject: Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. --- src/modules/m_spanningtree/capab.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_spanningtree/capab.cpp') 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 { -- cgit v1.3.1-10-gc9f91