From 44dd8d07d9fd3461411c505d8afa6a316184a15c Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 29 Sep 2013 13:39:59 -0400 Subject: Add chanserv:always_lower_ts config option to always lower registered channels timestamps to the creation time which fixes some race conditions regarding users joining empty registered channels and doing things prior to the -o from services coming through. Without always_lower_ts attempt to bounce mode changes from bad users, which will work okay in most cases. --- data/chanserv.example.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'data') diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 5f7324503..7ec4487bf 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -159,6 +159,13 @@ module * If set, prevents channels from being on access lists. */ disallow_channel_access = false + + /* + * If set, ChanServ will always lower the timestamp of registered channels to their registration date. + * This prevents several race conditions where unauthorized users can join empty registered channels and set + * modes etc. prior to services deopping them. + */ + always_lower_ts = false } /* -- cgit