From 6b123d4bc61c2db8e379dd5e681834c4053e661d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 22 Aug 2024 10:26:43 +0100 Subject: Use C++20 instead of fmtlib when available. --- modules/check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/check.cpp') 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(); } -- cgit v1.3.1-10-gc9f91