diff options
| author | 2023-05-10 11:57:48 +0100 | |
|---|---|---|
| committer | 2023-05-10 11:57:48 +0100 | |
| commit | fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 (patch) | |
| tree | 8bf01388c2f66ebfaaa8efd2f47154958ce0bbae /src/helperfuncs.cpp | |
| parent | Show more details about unactivated/expired client certificates. (diff) | |
Rename duration to timeutils and relocate InspIRCd::TimeString.
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 4de955464..162bbfe07 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -34,7 +34,7 @@ #endif #include "inspircd.h" -#include "duration.h" +#include "timeutils.h" #include "xline.h" bool InspIRCd::CheckPassword(const std::string& password, const std::string& passwordhash, const std::string& value) @@ -407,7 +407,7 @@ std::string Duration::ToString(unsigned long duration) return ret; } -std::string InspIRCd::TimeString(time_t curtime, const char* format, bool utc) +std::string Time::ToString(time_t curtime, const char* format, bool utc) { #ifdef _WIN32 if (curtime < 0) |
