diff -r eedb2586dea4 -r f8873b391f3d lib/ezmlm/list.rb --- a/lib/ezmlm/list.rb Tue May 16 22:28:21 2017 -0700 +++ b/lib/ezmlm/list.rb Wed May 24 15:42:39 2017 -0700 @@ -664,6 +664,16 @@ end + ### Return a Time object for the last activity on the list, or nil + ### if archiving is disabled or there are no posts. + ### + def last_activity + file = self.listdir + 'archnum' + return unless file.exist? + return file.stat.mtime + end + + ### Parse all thread indexes into a single array that can be used ### as a lookup table. ###