Ban Blocks: Difference between revisions

From pisswiki
No edit summary
(add note about the risk of <code>ban server</code> blocks)
Line 1: Line 1:
<nowiki>
=Warning=
 
Please consider not having ''any'' <code>ban server</code> blocks. Unless every single server on the network has the same <code>ban server</code> config we can end up in <code>SQUIT</code> hell when someone tries to introduce a banned server name.
 
=Config=
<pre>
# Because andrew lee can go to hell.
# Because andrew lee can go to hell.
ban server {
ban server {
Line 11: Line 16:
     reason "Come back when you hit puberty.";
     reason "Come back when you hit puberty.";
}
}
</nowiki>
</pre>

Revision as of 17:11, 19 June 2021

Warning

Please consider not having any ban server blocks. Unless every single server on the network has the same ban server config we can end up in SQUIT hell when someone tries to introduce a banned server name.

Config

# Because andrew lee can go to hell.
ban server {
    mask "*.freenode.net";
    reason "neoleenode is not welcome on pissnet. Try FullOfShitNet";
}

# Because chunky/beenz's transphobia and Eeeeeeee's slurs and spamming isn't welcome.
ban server {
    mask "*.pump.network";
    reason "Come back when you hit puberty.";
}