diff options
| author | 2023-01-23 07:42:07 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 5c4badf8ea3ba775854f0d26d3f2e0e119584faa (patch) | |
| tree | 05dd2c5c545f12f71866be6422146477ddd30e3f /src/modules/m_watch.cpp | |
| parent | Vendor the fmtlib library. (diff) | |
| download | inspircd++-5c4badf8ea3ba775854f0d26d3f2e0e119584faa.tar.gz inspircd++-5c4badf8ea3ba775854f0d26d3f2e0e119584faa.tar.bz2 inspircd++-5c4badf8ea3ba775854f0d26d3f2e0e119584faa.zip | |
Replace InspIRCd::Format with fmt::format.
Diffstat (limited to 'src/modules/m_watch.cpp')
| -rw-r--r-- | src/modules/m_watch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 6299bdc17..61b20bcf6 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -113,7 +113,7 @@ class CommandWatch final // Do not show how many clients are watching this nick, it's pointless const IRCv3::Monitor::WatchedList& list = manager.GetWatched(user); - user->WriteNumeric(RPL_WATCHSTAT, InspIRCd::Format("You have %lu and are on 0 WATCH entries", (unsigned long)list.size())); + user->WriteNumeric(RPL_WATCHSTAT, INSP_FORMAT("You have {} and are on 0 WATCH entries", list.size())); Numeric::Builder<' '> out(user, RPL_WATCHLIST); for (const auto* entry : list) |
