From 31c446201bf1b2b14dde2770e2006712438589e7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Mar 2025 13:57:00 +0000 Subject: Rename ToHuman to ToLongString. This name is used by functions in too many places already. --- src/modules/m_timedbans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_timedbans.cpp') diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index b7e2727ba..2d875c4be 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -152,7 +152,7 @@ public: if (sendnotice) { const std::string message = INSP_FORMAT("Timed ban {} added by {} on {} lasting for {}.", - mask, user->nick, channel->name, Duration::ToHuman(duration)); + mask, user->nick, channel->name, Duration::ToLongString(duration)); // If halfop is loaded, send notice to halfops and above, otherwise send to ops and above PrefixMode* mh = ServerInstance->Modes.FindNearestPrefixMode(HALFOP_VALUE); -- cgit v1.3.1-10-gc9f91