numberoverzero / bottom

asyncio-based rfc2812-compliant IRC Client
http://bottom-docs.readthedocs.io
MIT License
74 stars 23 forks source link

Correctly unpack parameters with optional delimiter #8

Closed numberoverzero closed 9 years ago

numberoverzero commented 9 years ago

It is entirely valid for a server to use a trailing delimiter in the response parameters when one is not required. (source)

That means the following are functionally equivalent:

:nick!user@host JOIN #channel
:nick!user@host JOIN :#channel