Removed unnecessary parentheses.
This commit is contained in:
parent
8838417d6f
commit
e450621a57
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ impl IrcServer {
|
||||||
/// Handles CTCP requests if the CTCP feature is enabled.
|
/// Handles CTCP requests if the CTCP feature is enabled.
|
||||||
#[cfg(feature = "ctcp")]
|
#[cfg(feature = "ctcp")]
|
||||||
fn handle_ctcp(&self, resp: &str, tokens: Vec<&str>) -> Result<()> {
|
fn handle_ctcp(&self, resp: &str, tokens: Vec<&str>) -> Result<()> {
|
||||||
if (tokens.len() == 0) { return Ok(()) }
|
if tokens.len() == 0 { return Ok(()) }
|
||||||
match tokens[0] {
|
match tokens[0] {
|
||||||
"FINGER" => self.send_ctcp_internal(resp, &format!(
|
"FINGER" => self.send_ctcp_internal(resp, &format!(
|
||||||
"FINGER :{} ({})", self.config().real_name(), self.config().username()
|
"FINGER :{} ({})", self.config().real_name(), self.config().username()
|
||||||
|
|
Loading…
Reference in a new issue