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_nickflood.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_nickflood.cpp')
| -rw-r--r-- | src/modules/m_nickflood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp index 9aeb37a6f..45ed5f1cd 100644 --- a/src/modules/m_nickflood.cpp +++ b/src/modules/m_nickflood.cpp @@ -161,7 +161,7 @@ public: if (f->islocked()) { user->WriteNumeric(ERR_CANTCHANGENICK, INSP_FORMAT("{} has been locked for nick changes for {} because there have been more than {} nick changes in {}", - memb->chan->name, Duration::ToHuman(duration), f->nicks, Duration::ToHuman(f->secs))); + memb->chan->name, Duration::ToLongString(duration), f->nicks, Duration::ToLongString(f->secs))); return MOD_RES_DENY; } @@ -170,7 +170,7 @@ public: f->clear(); f->lock(); memb->chan->WriteNotice(INSP_FORMAT("No nick changes are allowed for {} because there have been more than {} nick changes in {}.", - Duration::ToHuman(duration), f->nicks, Duration::ToHuman(f->secs))); + Duration::ToLongString(duration), f->nicks, Duration::ToLongString(f->secs))); return MOD_RES_DENY; } } |
