-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Labels
BugThings to squish; generally used for issuesThings to squish; generally used for issuesCore/IRC Protocol Handling
Milestone
Description
Description
When Sopel joins a server that supports UHNAMES but not the userhost-in-names CAP, it sends PROTOCTL UHNAMES to accomplish the same goal.
In my testing, this results in:
>> CAP LS 302
>> NICK Sopel
>> USER ...
<< 001 ...
>> JOIN #test
<< 005 [...] UHNAMES
>> PROTOCTL UHNAMES
<< JOIN #test
<< 353 Sopel = #test :@Op Sopel
Followed by an exception (expected 2 to unpack, got 1) on coretasks.py:524
Sending PROTOCTL UHNAMES before the JOIN seems to work.
The same problem may exist with the CAP, if not in practice, than in theory.
Previously: #2102
Reproduction steps
- Find a server with UHNAMES but no userhost-in-names
- Configure Sopel to connect to it and join a channel
- Start sopel
- Note exception
Expected behavior
Joins without exception
Environment
- Sopel
.version: 36b7c2f - Sopel installed via: pip
- Python version: 3.9.2
- Operating system: Debian 10
- IRCd
/version: InspIRCd 2
Notes
@dgw broke it
Metadata
Metadata
Assignees
Labels
BugThings to squish; generally used for issuesThings to squish; generally used for issuesCore/IRC Protocol Handling