diff options
| author | anzz1 <anzz1@live.com> | 2025-09-12 21:54:56 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-12 20:54:56 +0200 |
| commit | 3e4ca16dc245727c64f23494636601c29fd07643 (patch) | |
| tree | b7772457d712db7e63f1a6de3479829a00eb019c | |
| parent | 512af135d06e7dad93f51eae51b3979e1d4005cc (diff) | |
| download | ngircd-3e4ca16dc245727c64f23494636601c29fd07643.tar.gz ngircd-3e4ca16dc245727c64f23494636601c29fd07643.zip | |
Improve "CloakHostModeX" documentation
Closes #334.
| -rw-r--r-- | doc/sample-ngircd.conf.tmpl | 1 | ||||
| -rw-r--r-- | man/ngircd.conf.5.tmpl | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index 2a08bb43..f02c535d 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -168,6 +168,7 @@ # Use this hostname for hostname cloaking on clients that have the # user mode "+x" set, instead of the name of the server. # Use %x to add the hashed value of the original hostname. + # If this variable is empty, regular users cannot set mode "+x" themselves. ;CloakHostModeX = cloaked.user # The Salt for cloaked hostname hashing. When undefined a random diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl index 350c0f86..d0d73f77 100644 --- a/man/ngircd.conf.5.tmpl +++ b/man/ngircd.conf.5.tmpl @@ -1,7 +1,7 @@ .\" .\" ngircd.conf(5) manual page template .\" -.TH ngircd.conf 5 "May 2024" ngIRCd "ngIRCd Manual" +.TH ngircd.conf 5 "Sep 2025" ngIRCd "ngIRCd Manual" .SH NAME ngircd.conf \- configuration file of ngIRCd .SH SYNOPSIS @@ -253,7 +253,8 @@ don't change. Use %x to add the hashed value of the original hostname. \fBCloakHostModeX\fR (string) Use this hostname for hostname cloaking on clients that have the user mode "+x" set, instead of the name of the server. Default: empty, use the name -of the server. Use %x to add the hashed value of the original hostname +of the server. Use %x to add the hashed value of the original hostname. +If this variable is empty, regular users cannot set mode "+x" themselves. .TP \fBCloakHostSalt\fR (string) The Salt for cloaked hostname hashing. When undefined a random hash is |