From b918f4906a21d6f37de5c7d503c8da1770df966d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jun 2024 14:12:59 +0100 Subject: Always use fmtlib directly. --- src/modules/m_check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 2597c7b93..d5a7b895b 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_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", INSP_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", INSP_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