From c91d14a9495773fa2735b76e3c0bd58ee53d58de Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Sun, 18 Feb 2018 21:13:01 +0100 Subject: [PATCH] Fixed a small bug when using nochanlists. --- src/client/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/mod.rs b/src/client/mod.rs index 9376d13..7d2b1f5 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -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]) {} + fn handle_mode(&self, _: &str, _: &[Mode]) {} #[cfg(not(feature = "nochanlists"))] fn handle_mode(&self, chan: &str, modes: &[Mode]) {