From 58c05687bf7b365c9be7791f8128dbd0da56f5ca Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 10 Aug 2013 15:52:02 -0400 Subject: Add "simple seen" mode to cs_seen --- data/chanserv.example.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'data') diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 4764496d0..986479471 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -1068,16 +1068,20 @@ command { service = "ChanServ"; name = "REGISTER"; command = "chanserv/register" * Records the last time a user was seen and what they were doing and allows users to request this data. * Also allows administrators to view stats about seen data and purge the database. */ -module { name = "cs_seen" } -command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; } -cs_seen +module { + name = "cs_seen" + + /* If set, uses the older 1.8 style seen, which is less resource intensive */ + simple = false + /* Sets the time to keep seen entries in the seen database. */ purgetime = "30d" /* Sets the delay between checks for expired seen entries. */ expiretimeout = "1d" } +command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; } /* * cs_set -- cgit