webirc: trusted web gateways can set the real client host/ip (webirc config blocks)
This commit is contained in:
parent
8edb7b2ab2
commit
81e9728cfa
3 changed files with 57 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ pub struct Server {
|
|||
pub dnsbl_action: String, // mark | kline | gline | zline
|
||||
pub dnsbl_reason: String, // ban reason on a DNSBL hit
|
||||
pub sasl_server: String, // services server that handles SASL
|
||||
pub webirc: Vec<(String, String)>, // trusted web gateways: (password, name)
|
||||
pub event_tx: Sender<Event>, // self-inject events (DNS results)
|
||||
}
|
||||
|
||||
|
|
@ -144,6 +145,7 @@ impl Server {
|
|||
dnsbl_action: cfg.dnsbl_action,
|
||||
dnsbl_reason: cfg.dnsbl_reason,
|
||||
sasl_server: cfg.sasl_server,
|
||||
webirc: cfg.webirc,
|
||||
event_tx,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue