aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-18 13:57:00 +0000
committerGravatar Sadie Powell2025-03-18 14:18:03 +0000
commit31c446201bf1b2b14dde2770e2006712438589e7 (patch)
tree06dbc5c1493ce81b984c8804cfc759c06fb278a1 /src/modules/m_permchannels.cpp
parentAdd a formatting overload of the ModuleException constructor. (diff)
downloadinspircd++-31c446201bf1b2b14dde2770e2006712438589e7.tar.gz
inspircd++-31c446201bf1b2b14dde2770e2006712438589e7.tar.bz2
inspircd++-31c446201bf1b2b14dde2770e2006712438589e7.zip
Rename ToHuman to ToLongString.
This name is used by functions in too many places already.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 30ff20a74..e86019152 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -337,7 +337,7 @@ public:
// Back off a bit to avoid spamming opers.
if (backoff > 1)
SetInterval(std::min(GetInterval() * backoff, maxbackoff), false);
- ServerInstance->Logs.Debug(MODNAME, "Trying again in {}", Duration::ToHuman(GetInterval()));
+ ServerInstance->Logs.Debug(MODNAME, "Trying again in {}", Duration::ToLongString(GetInterval()));
}
}
return true;