mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-07 20:59:08 -07:00
add a config switch to accept hostnames from WEBIRC
See #1686; this allows i2pd to pass the i2p address to Ergo, which may be useful for moderation under some circumstances.
This commit is contained in:
@@ -32,6 +32,7 @@ type webircConfig struct {
|
||||
Fingerprint *string // legacy name for certfp, #1050
|
||||
Certfp string
|
||||
Hosts []string
|
||||
AcceptHostname bool `yaml:"accept-hostname"`
|
||||
allowedNets []net.IPNet
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user