Tip of the day: Consider contributing to make UnrealIRCd even better: reporting bugs, testing, helping out with support, .. |
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.