aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/keepnick.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2018-02-12 20:31:56 +0100
committerJokler <jokler.contact@gmail.com>2018-02-12 20:31:56 +0100
commit72f1411f1c72a9271c7d3993a3e307050e8d1b31 (patch)
tree92cbd36b13d09134ad5d8f23bf933c7aba0d7bb4 /src/plugins/keepnick.rs
parentd761a8ad9650b4797a673230c2cc924235aafc98 (diff)
downloadfrippy-72f1411f1c72a9271c7d3993a3e307050e8d1b31.tar.gz
frippy-72f1411f1c72a9271c7d3993a3e307050e8d1b31.zip
Run latest rustfmt
Diffstat (limited to 'src/plugins/keepnick.rs')
-rw-r--r--src/plugins/keepnick.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/keepnick.rs b/src/plugins/keepnick.rs
index e973769..73f4893 100644
--- a/src/plugins/keepnick.rs
+++ b/src/plugins/keepnick.rs
@@ -29,7 +29,6 @@ impl KeepNick {
Ok(_) => ExecutionStatus::Done,
Err(e) => ExecutionStatus::Err(e),
}
-
} else {
ExecutionStatus::Done
}
@@ -51,8 +50,10 @@ impl Plugin for KeepNick {
}
fn command(&self, client: &IrcClient, command: PluginCommand) -> Result<(), IrcError> {
- client.send_notice(&command.source,
- "This Plugin does not implement any commands.")
+ client.send_notice(
+ &command.source,
+ "This Plugin does not implement any commands.",
+ )
}
fn evaluate(&self, _: &IrcClient, _: PluginCommand) -> Result<String, String> {