diff options
| author | 2023-05-10 11:57:48 +0100 | |
|---|---|---|
| committer | 2023-05-10 11:57:48 +0100 | |
| commit | fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 (patch) | |
| tree | 8bf01388c2f66ebfaaa8efd2f47154958ce0bbae /src/modules/m_shun.cpp | |
| parent | Show more details about unactivated/expired client certificates. (diff) | |
Rename duration to timeutils and relocate InspIRCd::TimeString.
Diffstat (limited to 'src/modules/m_shun.cpp')
| -rw-r--r-- | src/modules/m_shun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index b51d18651..fc2c848b5 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -30,9 +30,9 @@ #include "inspircd.h" -#include "duration.h" #include "modules/shun.h" #include "modules/stats.h" +#include "timeutils.h" #include "xline.h" /** An XLineFactory specialized to generate shun pointers @@ -129,7 +129,7 @@ public: { ServerInstance->SNO.WriteToSnoMask('x', "{} added a timed SHUN on {}, expires in {} (on {}): {}", user->nick, target, Duration::ToString(duration), - InspIRCd::TimeString(ServerInstance->Time() + duration), expr); + Time::ToString(ServerInstance->Time() + duration), expr); } } else |
