From aa378a6669c2b553ce2e6045d528343da08e8692 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 2 Aug 2018 14:43:20 +1000 Subject: [PATCH] Enforce channel modes with accessbot In the dependent change, accessbot gains the ability to set channel modes. Enforce our global mode of registered users only, with a forward to #openstack-unregistered to catch those who need help with nickserv. Change-Id: I004f7c9c9093262bea6e841be41166d3b6ecfb10 Depends-On: https://review.openstack.org/588134 --- accessbot/channels.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/accessbot/channels.yaml b/accessbot/channels.yaml index 946f1d2765..6d0566f460 100755 --- a/accessbot/channels.yaml +++ b/accessbot/channels.yaml @@ -67,6 +67,20 @@ alumni: - yolanda - Sam-I-Am +# To forward unregistered users to a channel with +f you need to be an +# op in that channel. This pre-joins and ops (via chanserv) in the +# given channels. +op_channels: + - openstack-unregistered + +# This sets the following +# c : no colors +# n : message can not be sent from outside channel +# r : registered users only +# t : op to modify topic +# f : forward unregistered users to #openstack-unregistered +mode: '+cnrtf #openstack-unregistered' + # Individual channel configuration: channels: - name: airshipit