diff options
| author | 2025-03-18 13:57:00 +0000 | |
|---|---|---|
| committer | 2025-03-18 14:18:03 +0000 | |
| commit | 31c446201bf1b2b14dde2770e2006712438589e7 (patch) | |
| tree | 06dbc5c1493ce81b984c8804cfc759c06fb278a1 /src/usermanager.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/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 1bdf21ec0..3b3e743e6 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -66,7 +66,7 @@ namespace if (!user->lastping) { time_t secs = ServerInstance->Time() - (user->nextping - user->GetClass()->pingtime); - const std::string message = INSP_FORMAT("Ping timeout: {}", Duration::ToHuman(secs)); + const std::string message = INSP_FORMAT("Ping timeout: {}", Duration::ToLongString(secs)); ServerInstance->Users.QuitUser(user, message); return; } |
