Fixed compilation error with no-default-features.
This commit is contained in:
parent
2a1ff81249
commit
452645a56f
1 changed files with 1 additions and 1 deletions
|
@ -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(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue