From 790ec51b28046df2765752a419b5a72e8fb4a485 Mon Sep 17 00:00:00 2001 From: Jean Date: Mon, 13 Jul 2026 23:06:18 +0000 Subject: [PATCH] hostserv: keep the code comment neutral Drop the name-drop from the normalize_vhost comment; the credit stays in the previous commit message. --- hostserv/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/hostserv/src/lib.rs b/hostserv/src/lib.rs index 24c5fc4..01f9b3b 100644 --- a/hostserv/src/lib.rs +++ b/hostserv/src/lib.rs @@ -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),