aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-05-10 11:57:48 +0100
committerGravatar Sadie Powell2023-05-10 11:57:48 +0100
commitfe4c512839f9f613fc5098e5a9d8c9a402e60aa0 (patch)
tree8bf01388c2f66ebfaaa8efd2f47154958ce0bbae /src/modules/m_permchannels.cpp
parentShow more details about unactivated/expired client certificates. (diff)
Rename duration to timeutils and relocate InspIRCd::TimeString.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp4
1 files changed, 3 insertions, 1 deletions
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 <fstream>
/** 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;