_posts: quick blog on PL50 with Atheme

This commit is contained in:
Aminda Suomalainen 2017-03-19 20:34:11 +02:00
parent ff880203fd
commit 9d63a8974c
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
---
layout: post
comments: true
title: "Imitating Matrix moderator at IRC using Atheme services"
category: [english]
tags: [Matrix, ChanServ, room, channel, moderator, op]
redirect_from:
---
*This post should probably be outside of my blog, but I cannot think of
appropiate way to put it to wiki.*
I am going to assume that you already know what Matrix is, but you might
not know that moderator and power level 50 (AKA PL50) are the same thing.
What PL50 can do is kicking/banning users (if their PL is less than of the
moderator) and changing topic. Adjusting PL of other users is reserved to
PL100.
1. Create a template ("MXMOD") for adding mods more easily later.
`/msg ChanServ TEMPLATE #channel MXMOD +AOt`.
* This allows the user to see the channel access list or flags with
ChanServ, get automatically opped or op themselves and change the
topic with ChanServ or by themselves if TOPICLOCK is enabled.
2. Optionally enable SECURE so users without `+o/+O` flag won't get opped
(and thus it won't sync to Matrix as PL50 if ops syncing is enabled
for the network): `/msg ChanServ SET #channel SECURE on`.
3. Actually op the mod
`/msg ChanServ FLAGS #channel moderatorUsername MXMOD`.
Why would you want to do this? If your moderator doesn't use IRC, but only
users Matrix, they won't need other flags than those. The ghost of the
moderator should be opped at IRC for actions such as kick and topic change
to sync.