Tip of the day: Channel mode +P makes a channel permanent. The topic and modes are preserved,even if all users leave the channel, and even if the server is restarted thanks to channeldb. |
Translations:Security/52/en
Jump to navigation
Jump to search
Instead of forcing +D or +R you can also use set::restrict-commands to set your own rules (this affects both PRIVMSG
and NOTICE
, hence two blocks):
set { restrict-commands { private-message { except { identified yes; webirc yes; reputation-score 24; } } private-notice { except { identified yes; webirc yes; reputation-score 24; } } } }
The above example would disable private messaging, except allow it to any of the following groups:
- people who are identified to Services
- people who use a WebIRC gateway
- people who use an IP that has regularly visited this server before (
24
here means 24*5=120 minutes of connect time somewhere in the past week/month). Naturally you can use a lower or higher number here.