Fixed a small bug when using nochanlists.
This commit is contained in:
parent
1f2a67f2d3
commit
c91d14a949
1 changed files with 2 additions and 2 deletions
|
@ -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>]) {
|
||||
|
|
Loading…
Reference in a new issue