From 3e439f17248a5168c22955d7cb4d0a9ba7531e5f Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 5 Mar 2018 16:15:44 +0100 Subject: Fix formatting --- src/plugins/tell/mod.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/plugins/tell') diff --git a/src/plugins/tell/mod.rs b/src/plugins/tell/mod.rs index ccca300..dad5235 100644 --- a/src/plugins/tell/mod.rs +++ b/src/plugins/tell/mod.rs @@ -144,9 +144,7 @@ impl Tell { impl Plugin for Tell { fn execute(&self, client: &IrcClient, message: &Message) -> ExecutionStatus { match message.command { - Command::JOIN(_, _, _) => { - self.send_tells(client, message.source_nickname().unwrap()) - } + Command::JOIN(_, _, _) => self.send_tells(client, message.source_nickname().unwrap()), _ => ExecutionStatus::Done, } } @@ -174,9 +172,9 @@ impl Plugin for Tell { .send_notice(&sender, &msg) .context(FrippyErrorKind::Connection), Err(e) => client - .send_notice(&sender, &e.to_string()) - .context(FrippyErrorKind::Connection) - .into() + .send_notice(&sender, &e.to_string()) + .context(FrippyErrorKind::Connection) + .into(), }, }?) } -- cgit v1.2.3-70-g09d2