Fixed compilation error with no-default-features.

This commit is contained in:
Aaron Weiss 2018-01-01 23:07:10 -05:00
parent 2a1ff81249
commit 452645a56f
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -581,7 +581,7 @@ impl ServerState {
}
#[cfg(not(feature = "ctcp"))]
fn handle_ctcp(&self, _: &str, _: Vec<&str>) -> error::Result<()> {
fn handle_ctcp(&self, _: &str, _: &[&str]) -> error::Result<()> {
Ok(())
}
}