From 1079cded02c162cca4d7cc0ff2e5dd2892d4b8b4 Mon Sep 17 00:00:00 2001 From: GottemHams Date: Mon, 15 Jul 2019 18:36:15 +0200 Subject: [PATCH] Nested comment blocks don't work anymore :D --- doc/conf/modules.optional.conf | 48 ++++++++++++++++------------------ 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/doc/conf/modules.optional.conf b/doc/conf/modules.optional.conf index 4d8c2872e..493185508 100644 --- a/doc/conf/modules.optional.conf +++ b/doc/conf/modules.optional.conf @@ -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;