hostserv: keep the code comment neutral
Drop the name-drop from the normalize_vhost comment; the credit stays in the previous commit message.
This commit is contained in:
parent
31d23cf6b3
commit
790ec51b28
1 changed files with 0 additions and 1 deletions
|
|
@ -91,7 +91,6 @@ fn require_oper(me: &str, from: &Sender, ctx: &mut ServiceCtx) -> bool {
|
|||
// would rewrite (an underscore becomes a hyphen) is rewritten here first. This
|
||||
// keeps what we store identical to what shows on the network, so two inputs
|
||||
// that would collapse to the same host are detected as one.
|
||||
// (Recommended by siniStar — the ns_nethost normalisation approach.)
|
||||
pub(crate) fn normalize_vhost(spec: &str) -> String {
|
||||
let (ident, host) = match spec.split_once('@') {
|
||||
Some((i, h)) => (Some(i), h),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue