aatxe / irc

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

No defined behavior when nickname is taken. #4

Closed aatxe closed 9 years ago

aatxe commented 9 years ago

There should be some sort of defined behavior for when a nickname is taken. This could be adding underscores until it works. It could be building in a list of alternative nicknames, and panicking when the list is exhausted. This could be propagating an IoError and letting the user figure out what action to take. It'll probably be the last one, but discussion could take place here on what this should look like.

aatxe commented 9 years ago

Implemented in a222989.