diff options
| author | Adam <Adam@anope.org> | 2013-09-29 13:39:59 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-09-29 15:41:32 -0400 |
| commit | 44dd8d07d9fd3461411c505d8afa6a316184a15c (patch) | |
| tree | 9f02aea8964c147bd7e112ba7912ba2ccbd9127a /data | |
| parent | f7aa69b596500413ad33f386e74e28776507ca4f (diff) | |
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.
Diffstat (limited to 'data')
| -rw-r--r-- | data/chanserv.example.conf | 7 |
1 files changed, 7 insertions, 0 deletions
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 } /* |
