Skip to content

Commit be5b70a

Browse files
authored
fix: use {} (#10)
1 parent 7c1d670 commit be5b70a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/QueueListCache.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void QueueListCache::ShowArenaRated(ChatHandler* handler)
272272
for (auto const& [teamName, arenaType, teamRating] : queueArenaRatedList)
273273
{
274274
// Queue status
275-
handler->PSendSysMessage("> %s (%uv%u): %u", teamName.c_str(), arenaType, arenaType, teamRating);
275+
handler->PSendSysMessage("> {} ({}v{}): {}", teamName.c_str(), arenaType, arenaType, teamRating);
276276
}
277277
}
278278
}
@@ -296,7 +296,7 @@ void QueueListCache::ShowArenaNonRated(ChatHandler* handler)
296296
for (auto const& [arenaType, minLevel, maxLevel, qTotal, MaxPlayers] : queueArenaNonRatedList)
297297
{
298298
// Queue status
299-
handler->PSendSysMessage("> %u-%u %s: %u/%u", minLevel, maxLevel, arenaType.c_str(), qTotal, MaxPlayers);
299+
handler->PSendSysMessage("> {}-{} {}: {}/{}", minLevel, maxLevel, arenaType.c_str(), qTotal, MaxPlayers);
300300
}
301301
}
302302
}
@@ -317,7 +317,7 @@ void QueueListCache::ShowBg(ChatHandler* handler)
317317
for (auto const& [bgName, minLevel, maxLevel, qTotal, MaxPlayers] : listQueue)
318318
{
319319
// Queue status
320-
handler->PSendSysMessage("> %u-%u %s: %u/%u", minLevel, maxLevel, bgName.c_str(), qTotal, MaxPlayers);
320+
handler->PSendSysMessage("> {}-{} {}: {}/{}", minLevel, maxLevel, bgName.c_str(), qTotal, MaxPlayers);
321321
}
322322
};
323323

0 commit comments

Comments
 (0)