aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/keepnick.rs
diff options
context:
space:
mode:
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> {