diff options
| author | 2025-03-03 14:58:58 +0000 | |
|---|---|---|
| committer | 2025-03-03 14:58:58 +0000 | |
| commit | d4d2293244c1845d2ca44708e82cad0bd38741e5 (patch) | |
| tree | e6c03e062dd5b2dc13f215169ab11455a2b89d88 /modules/timedbans.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Use Duration::ToHuman instead of seconds in various messages. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/timedbans.cpp')
| -rw-r--r-- | modules/timedbans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/timedbans.cpp b/modules/timedbans.cpp index 37e24ba77..7709e861f 100644 --- a/modules/timedbans.cpp +++ b/modules/timedbans.cpp @@ -152,7 +152,7 @@ public: if (sendnotice) { const std::string message = FMT::format("Timed ban {} added by {} on {} lasting for {}.", - mask, user->nick, channel->name, Duration::ToString(duration)); + mask, user->nick, channel->name, Duration::ToHuman(duration)); // If halfop is loaded, send notice to halfops and above, otherwise send to ops and above PrefixMode* mh = ServerInstance->Modes.FindNearestPrefixMode(HALFOP_VALUE); |
