diff options
Diffstat (limited to 'modules/helpmode.cpp')
| -rw-r--r-- | modules/helpmode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/helpmode.cpp b/modules/helpmode.cpp index b548b4995..358cba400 100644 --- a/modules/helpmode.cpp +++ b/modules/helpmode.cpp @@ -94,7 +94,7 @@ public: const std::string awayperiod = Duration::ToString(ServerInstance->Time() - helper->away->time); const std::string awaytime = Time::ToString(helper->away->time); - extra = fmt::format(": away for {} [since {}] ({})", awayperiod, awaytime, helper->away->message); + extra = FMT::format(": away for {} [since {}] ({})", awayperiod, awaytime, helper->away->message); } auto* lhelper = IS_LOCAL(helper); @@ -103,10 +103,10 @@ public: const std::string idleperiod = Duration::ToString(ServerInstance->Time() - lhelper->idle_lastmsg); const std::string idletime = Time::ToString(lhelper->idle_lastmsg); - extra += fmt::format("{} idle for {} [since {}]", extra.empty() ? ':' : ',', idleperiod, idletime); + extra += FMT::format("{} idle for {} [since {}]", extra.empty() ? ':' : ',', idleperiod, idletime); } - stats.AddGenericRow(fmt::format("\x02{}\x02{} ({}){}", helper->nick, markhelpers ? " [helper]" : "", + stats.AddGenericRow(FMT::format("\x02{}\x02{} ({}){}", helper->nick, markhelpers ? " [helper]" : "", helper->GetUserHost(), extra)); } |
