aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/help.rs')
-rw-r--r--src/plugins/help.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/help.rs b/src/plugins/help.rs
index b75086f..f048a8e 100644
--- a/src/plugins/help.rs
+++ b/src/plugins/help.rs
@@ -25,14 +25,16 @@ impl Plugin for Help {
}
fn command(&self, client: &IrcClient, command: PluginCommand) -> Result<(), FrippyError> {
- Ok(client
+ client
.send_notice(
&command.source,
"Available commands: help, currency, tell, factoids, remind\r\n\
For more detailed help call help on the specific command.\r\n\
Example: 'currency help'",
)
- .context(FrippyErrorKind::Connection)?)
+ .context(FrippyErrorKind::Connection)?;
+
+ Ok(())
}
fn evaluate(&self, _: &IrcClient, _: PluginCommand) -> Result<String, String> {