Thibault Martin commented:
As discussed in #opers, the cloak isn’t the route we want to follow because it can be harder to maintain for IRC administrators.
The best solution seems to be to set an alias to have the following commands available for room owners:
-
/spamprotect on #channel
to perform the commandMODE #channel +qe *!*2001:470:1af1:104:*
-
/spamprotect off #channel
to perform the commandMODE #channel -q
The actual commands need to be confirmed by the IRC administrators.
When confirmed, before setting this up I need to:
- Create a test room in IRC
- Use the first command to protect the room
- Try to join with a Matrix user unregistered on IRC
- Exchange a few messages from both sides and check everything happens well
- Remove the protection with the second command
- Exchange a few messages from both sides
- Leave an and re-join as the Matrix user
Also, as mentioned by Andrea, the unrealircd documentation suggests that +qe doesn’t exist. It might be a +Me command instead, to be confirmed.