Skip to content

Feat/nickforce - #97

Open
MrIron-no wants to merge 3 commits into
UndernetIRC:mainfrom
MrIron-no:feat/nickforce
Open

Feat/nickforce#97
MrIron-no wants to merge 3 commits into
UndernetIRC:mainfrom
MrIron-no:feat/nickforce

Conversation

@MrIron-no

Copy link
Copy Markdown
Contributor

No description provided.

MrIron-no and others added 3 commits August 3, 2026 15:37
…to iauth

auth_set_account() now splits account[:id[:flags[:...]]] from an optional
umode-like second word (+x / +xo), ignores future colon fields and trailing
tokens for local state, and sends the original string to iauth as "A ...".
Tests cover the variants against a logging iauth stub.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the client's chosen nick fixed until registration completes so iauth
sees a stable nickname and can reliably override it with "f". A failed
forced nick now sets AR_IAUTH_NEEDS_NICK, which blocks registration (even
after Done) until iauth supplies a subsequent valid "f"; successful
assignment notifies the client with NICK before the local rename.

Document the E Missing/Invalid/InUse retry contract, and expand the
iauth_nick harness: force testnick to Guest001 before Done across SASL
OK, SASL FAIL, and no-SASL paths; keep non-forced nicks unchanged; reject
mid-auth NICK changes; and exercise invalid/in-use force retries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant