From fe4c512839f9f613fc5098e5a9d8c9a402e60aa0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 10 May 2023 11:57:48 +0100 Subject: Rename duration to timeutils and relocate InspIRCd::TimeString. --- src/modules/m_permchannels.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_permchannels.cpp') diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 904ecf22d..1d0c713b7 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -27,6 +27,8 @@ #include "inspircd.h" #include "listmode.h" +#include "timeutils.h" + #include /** Handles the +P channel mode @@ -83,7 +85,7 @@ static bool WriteDatabase(PermChannel& permchanmode, bool save_listmodes) } stream - << "# This file was automatically generated by the " << INSPIRCD_VERSION << " permchannels module on " << InspIRCd::TimeString(ServerInstance->Time()) << "." << std::endl + << "# This file was automatically generated by the " << INSPIRCD_VERSION << " permchannels module on " << Time::ToString(ServerInstance->Time()) << "." << std::endl << "# Any changes to this file will be automatically overwritten." << std::endl << std::endl; -- cgit v1.3.1-10-gc9f91