diff options
| author | 2024-06-07 14:12:59 +0100 | |
|---|---|---|
| committer | 2024-06-07 14:12:59 +0100 | |
| commit | b918f4906a21d6f37de5c7d503c8da1770df966d (patch) | |
| tree | cb061bf6249cc9a0ce86fcc646a157edd058db76 /src/modules/m_spanningtree/num.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Always use fmtlib directly.
Diffstat (limited to 'src/modules/m_spanningtree/num.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/num.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/num.cpp b/src/modules/m_spanningtree/num.cpp index 381592e7d..0ca0ae9ca 100644 --- a/src/modules/m_spanningtree/num.cpp +++ b/src/modules/m_spanningtree/num.cpp @@ -52,7 +52,7 @@ CommandNum::Builder::Builder(SpanningTree::RemoteUser* target, const Numeric::Nu : CmdBuilder("NUM") { TreeServer* const server = (numeric.GetServer() ? (static_cast<TreeServer*>(numeric.GetServer())) : Utils->TreeRoot); - push(server->GetId()).push(target->uuid).push(INSP_FORMAT("{:03}", numeric.GetNumeric())); + push(server->GetId()).push(target->uuid).push(fmt::format("{:03}", numeric.GetNumeric())); const CommandBase::Params& params = numeric.GetParams(); if (!params.empty()) { |
