comments: strip stray reference-implementation names from a handful of module/inline comments

This commit is contained in:
Jean Chevronnet 2026-08-20 10:11:07 +00:00
parent 81e013f053
commit 5a9825ee61
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
5 changed files with 6 additions and 58 deletions

View file

@ -119,7 +119,7 @@ pub fn apply_mode(s: &mut Server, uid: Uid, params: &[String]) -> CmdResult {
let mut echoed: Vec<String> = Vec::new();
// (sign, letter, displayed-param) per applied change — for hidemode filtering
let mut changes: Vec<(char, char, Option<String>)> = Vec::new();
// Cap mode changes per command (advertised as MODES=, default 20 like InspIRCd):
// Cap mode changes per command (advertised as MODES=, default 20):
// otherwise `MODE #c +bbbb…` in one line dispatches hundreds of handlers, each
// fanning out to the whole channel and every link — a cheap amplification flood.
let max_modes = s.conf_num("modes", 20usize).max(1);