From 3e4ca16dc245727c64f23494636601c29fd07643 Mon Sep 17 00:00:00 2001 From: anzz1 Date: Fri, 12 Sep 2025 21:54:56 +0300 Subject: Improve "CloakHostModeX" documentation Closes #334. --- doc/sample-ngircd.conf.tmpl | 1 + 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 -- cgit 1.4.1