1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 23:23:12 +02:00

Nested comment blocks don't work anymore :D

This commit is contained in:
GottemHams
2019-07-15 18:36:15 +02:00
parent 19aad17d4e
commit 1079cded02
+23 -25
View File
@@ -245,32 +245,30 @@ set {
/*
loadmodule "cmdrestrict";
set {
/* This module allows you to restrict specific commands until people have
* been connected for a certain amount of time. IRC operators and U:Lined
* users will always be able to use them, regardless of what settings you use.
* Currently supported commands:
* - invite
* - knock
* - list
* - channel-message
* - channel-notice
* - private-message
* - private-notice
*/
// This module allows you to restrict specific commands until people have
// been connected for a certain amount of time. IRC operators and U:Lined
// users will always be able to use them, regardless of what settings you use.
// Currently supported commands:
// - invite
// - knock
// - list
// - channel-message
// - channel-notice
// - private-message
// - private-notice
restrict-commands {
/* Possible options for a command follow below:
* - disable: takes precedence over all and disables the command entirely,
* regardless of exceptions
* - connect-delay: user must have been online for the specified time,
* format can be '15' (seconds) or a "time value" like '11m' (11 minutes)
* with a maximum of 1 hour
* - exempt-identified: if identified with services the delay doesn't apply
* - exempt-reputation-score: if the user has at least this amount of reputation
* allow them to use the command anyways
*
* NOTE: Either 'disable' or 'connect-delay' is required, as the other options
* are merely exceptions for that.
*/
// Possible options for a command follow below:
// - disable: takes precedence over all and disables the command entirely,
// regardless of exceptions
// - connect-delay: user must have been online for the specified time,
// format can be '15' (seconds) or a "time value" like '11m' (11 minutes)
// with a maximum of 1 hour
// - exempt-identified: if identified with services the delay doesn't apply
// - exempt-reputation-score: if the user has at least this amount of reputation
// allow them to use the command anyways
//
// NOTE: Either 'disable' or 'connect-delay' is required, as the other options
// are merely exceptions for that.
list {
connect-delay 60;
exempt-identified yes;