diff options
| author | 2025-03-02 14:15:02 +0000 | |
|---|---|---|
| committer | 2025-03-03 14:00:16 +0000 | |
| commit | 2102b065d4ed91c5199c1dececdec4e385657cfd (patch) | |
| tree | 344337bb5099dcbf3c0aba113d3ec07955ef00f9 /src/modules/m_connectban.cpp | |
| parent | Add an 005 token to let clients know that fakelag is enabled. (diff) | |
Add Duration::ToHuman and update messages to use it.
Diffstat (limited to 'src/modules/m_connectban.cpp')
| -rw-r--r-- | src/modules/m_connectban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index fbefd0e40..4dc0cdcaf 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -162,7 +162,7 @@ public: } ServerInstance->SNO.WriteToSnoMask('x', "{} added a timed Z-line on {}, expires in {} (on {}): {}", - zl->source, maskstr, Duration::ToString(zl->duration), + zl->source, maskstr, Duration::ToHuman(zl->duration), Time::ToString(zl->expiry), zl->reason); ServerInstance->SNO.WriteGlobalSno('a', "Connect flooding from IP range {} ({})", maskstr, threshold); connects.erase(i); |
