aatxe / irc

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

current_nickname() is no longer exposed #91

Closed sector-f closed 7 years ago

sector-f commented 7 years ago

I noticed that as of version 0.12.0, the current_nickname() function was no longer documented. I've found that it still exists (and is marked pub) under impl ServerState.

I think the fix is making ServerState::current_nickname() private, and giving IrcServer a public method that calls current_nickname() on its ServerState.

aatxe commented 7 years ago

Ah, my bad. I got overzealous with moving things around. I'll fix this as soon as I can.