diff options
Diffstat (limited to 'modules/chanserv/main/channel.cpp')
-rw-r--r-- | modules/chanserv/main/channel.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/chanserv/main/channel.cpp b/modules/chanserv/main/channel.cpp index 5f7c71c8c..a2d56b6ec 100644 --- a/modules/chanserv/main/channel.cpp +++ b/modules/chanserv/main/channel.cpp @@ -81,6 +81,16 @@ void ChannelImpl::SetTimeRegistered(time_t t) Set(&ChannelType::time_registered, t); } +time_t ChannelImpl::GetChannelTS() +{ + return Get(&ChannelType::channel_ts); +} + +void ChannelImpl::SetChannelTS(time_t t) +{ + Set(&ChannelType::channel_ts, t); +} + time_t ChannelImpl::GetLastUsed() { return Get(&ChannelType::last_used); |