diff options
| author | 2025-03-18 13:57:00 +0000 | |
|---|---|---|
| committer | 2025-03-18 14:18:03 +0000 | |
| commit | 31c446201bf1b2b14dde2770e2006712438589e7 (patch) | |
| tree | 06dbc5c1493ce81b984c8804cfc759c06fb278a1 /src/modules/m_connectban.cpp | |
| parent | Add a formatting overload of the ModuleException constructor. (diff) | |
Rename ToHuman to ToLongString.
This name is used by functions in too many places already.
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 4dc0cdcaf..52ed5788f 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::ToHuman(zl->duration), + zl->source, maskstr, Duration::ToLongString(zl->duration), Time::ToString(zl->expiry), zl->reason); ServerInstance->SNO.WriteGlobalSno('a', "Connect flooding from IP range {} ({})", maskstr, threshold); connects.erase(i); |
