aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/emoji.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/emoji.rs')
-rw-r--r--src/plugins/emoji.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/emoji.rs b/src/plugins/emoji.rs
index a2337ee..e4dffdb 100644
--- a/src/plugins/emoji.rs
+++ b/src/plugins/emoji.rs
@@ -126,12 +126,14 @@ impl Plugin for Emoji {
}
fn command(&self, client: &IrcClient, command: PluginCommand) -> Result<(), FrippyError> {
- Ok(client
+ client
.send_notice(
&command.source,
"This Plugin does not implement any commands.",
)
- .context(FrippyErrorKind::Connection)?)
+ .context(FrippyErrorKind::Connection)?;
+
+ Ok(())
}
fn evaluate(&self, _: &IrcClient, command: PluginCommand) -> Result<String, String> {