summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2018-04-25 18:59:09 +0200
committerRobby <robby@chatbelgie.be>2018-04-25 18:59:09 +0200
commit901fc3e40f26cdf173703313e6d37595a3d3b92a (patch)
treec7434a5f0a100aab2ec30e82ad9d6ed5835a572b
parent5683f4592568f73082d2373f97de10c53b60ee4f (diff)
Document that negating is possible for commands and privs in opertype blocks.
-rw-r--r--data/example.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/example.conf b/data/example.conf
index 60da3b9a0..4309b72b6 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -812,6 +812,9 @@ log
* These can contain commands for oper-only strings (see above) which grants access to that specific command,
* and privileges (which grant access to more general permissions for the named area).
* Wildcard entries are permitted for both, e.g. 'commands = "operserv/*"' for all OperServ commands.
+ * You can also negate values with a ~. For example, "~operserv/akill operserv/*" would allow all OperServ
+ * commands except for operserv/akill. Note that processing stops at the first matching option, which
+ * means "* ~operserv/*" would allow everything because * matches everything.
*
* Below are some default example types, but this is by no means exhaustive,
* and it is recommended that you configure them to your needs.