Fixed a small bug when using nochanlists.

This commit is contained in:
Aaron Weiss 2018-02-18 21:13:01 +01:00
parent 1f2a67f2d3
commit c91d14a949
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -462,7 +462,7 @@ impl ClientState {
}
#[cfg(feature = "nochanlists")]
fn handle_part(&self, src: &str, chan: &str) {}
fn handle_part(&self, _: &str, _: &str) {}
#[cfg(not(feature = "nochanlists"))]
fn handle_part(&self, src: &str, chan: &str) {
@ -513,7 +513,7 @@ impl ClientState {
}
#[cfg(feature = "nochanlists")]
fn handle_mode(&self, _: &str, _: &[Mode<ChannelMODE>]) {}
fn handle_mode(&self, _: &str, _: &[Mode<ChannelMode>]) {}
#[cfg(not(feature = "nochanlists"))]
fn handle_mode(&self, chan: &str, modes: &[Mode<ChannelMode>]) {