aatxe / irc

the irc crate – usable, async IRC for Rust
Mozilla Public License 2.0
527 stars 100 forks source link

Don't send an empty CTCP SOURCE response #178

Closed jesopo closed 5 years ago

jesopo commented 5 years ago

Noticed this while asking a url-bot-rs instance for it's SOURCE.

-- CTCP query to u: SOURCE
-- CTCP reply from u: SOURCE https://github.com/nuxeh/url-bot-rs
-- CTCP reply from u: SOURCE
aatxe commented 5 years ago

Looks good to me.

It contradicts the old CTCP spec, but is in line with a new proposal from the ircdocs folks.