diff options
| author | 2024-08-22 10:26:43 +0100 | |
|---|---|---|
| committer | 2024-08-22 11:12:52 +0100 | |
| commit | 6b123d4bc61c2db8e379dd5e681834c4053e661d (patch) | |
| tree | 77621bb30f54b0c444e31a78b2c5c9a67955b723 /modules/check.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Use C++20 <format> instead of fmtlib when available.
Diffstat (limited to 'modules/check.cpp')
| -rw-r--r-- | modules/check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/check.cpp b/modules/check.cpp index d5a7b895b..eed6b1791 100644 --- a/modules/check.cpp +++ b/modules/check.cpp @@ -244,7 +244,7 @@ public: * Unlike Asuka, I define a clone as coming from the same host. --w00t */ const UserManager::CloneCounts& clonecount = ServerInstance->Users.GetCloneCounts(u); - context.Write("member", fmt::format("{} {}{} ({}\x0F)", clonecount.global, memb->GetAllPrefixChars(), + context.Write("member", FMT::format("{} {}{} ({}\x0F)", clonecount.global, memb->GetAllPrefixChars(), u->GetMask(), u->GetRealName())); } @@ -288,7 +288,7 @@ public: if (!matches.empty()) { const std::string whatmatch = insp::join(matches, ','); - context.Write("match", fmt::format("{} {} {} {} {} {} {} {} :{}", ++x, whatmatch, u->nick, u->GetRealUser(), + context.Write("match", FMT::format("{} {} {} {} {} {} {} {} :{}", ++x, whatmatch, u->nick, u->GetRealUser(), u->GetDisplayedUser(), u->GetRealHost(), u->GetDisplayedHost(), u->GetAddress(), u->GetRealName())); matches.clear(); } |
