aatxe / irc

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

Handle suffix as a plain param #199

Closed belak closed 4 years ago

belak commented 4 years ago

This replaces the internal handling of suffix and treats it as "just another param". Thankfully, this lets us clean up command parsing because we don't need to handle suffix vs params separately for every single command.

belak commented 4 years ago

This also modifies mode parsing to allow + and - in the same mode setting, so you can specify "+stuff-otherstuff" and have it work.

aatxe commented 4 years ago

Thanks!