diff --git a/docs/channels/irc.md b/docs/channels/irc.md index 377eb74a5831..a2bc0ca15579 100644 --- a/docs/channels/irc.md +++ b/docs/channels/irc.md @@ -175,7 +175,7 @@ Notes: - `toolsBySender` keys can be a nick (e.g. `"eigen"`) or a full hostmask (`"eigen!~eigen@174.127.248.171"`) for stronger identity matching. - The first matching sender policy wins; `"*"` is the wildcard fallback. -For more on group access vs mention-gating (and how they interact), see: [/concepts/groups](/concepts/groups). +For more on group access vs mention-gating (and how they interact), see: [/channels/groups](/channels/groups). ## NickServ diff --git a/src/config/schema.hints.ts b/src/config/schema.hints.ts index e0f67f93def9..fdcc20f34e5e 100644 --- a/src/config/schema.hints.ts +++ b/src/config/schema.hints.ts @@ -747,7 +747,7 @@ const FIELD_PLACEHOLDERS: Record = { const SENSITIVE_PATTERNS = [/token/i, /password/i, /secret/i, /api.?key/i]; -function isSensitivePath(path: string): boolean { +function isSensitiveConfigPath(path: string): boolean { return SENSITIVE_PATTERNS.some((pattern) => pattern.test(path)); } @@ -778,7 +778,7 @@ export function buildBaseHints(): ConfigUiHints { export function applySensitiveHints(hints: ConfigUiHints): ConfigUiHints { const next = { ...hints }; for (const key of Object.keys(next)) { - if (isSensitivePath(key)) { + if (isSensitiveConfigPath(key)) { next[key] = { ...next[key], sensitive: true }; } }