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_cban.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_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 210a4ec8c..6c75e507f 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -142,7 +142,7 @@ public: else { ServerInstance->SNO.WriteToSnoMask('x', "{} added a timed CBan on {}, expires in {} (on {}): {}", - user->nick, parameters[0], Duration::ToHuman(duration), Time::FromNow(duration), r->reason); + user->nick, parameters[0], Duration::ToLongString(duration), Time::FromNow(duration), r->reason); } } else |
