aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/currency.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-10-27 15:45:29 +0200
committerJokler <jokler.contact@gmail.com>2017-10-27 15:45:29 +0200
commitafa5eb93e9e14b65e3c846e70e22c6134ca95f80 (patch)
tree290f7ea4b5c51c3212a18265e6530460290cb10e /src/plugins/currency.rs
parent0139861d1e41a765b6ffde7cae37c1e16f9c053c (diff)
downloadfrippy-afa5eb93e9e14b65e3c846e70e22c6134ca95f80.tar.gz
frippy-afa5eb93e9e14b65e3c846e70e22c6134ca95f80.zip
Panic if execute is called on the Currency Plugin
Diffstat (limited to 'src/plugins/currency.rs')
-rw-r--r--src/plugins/currency.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/currency.rs b/src/plugins/currency.rs
index fd447e3..78ae593 100644
--- a/src/plugins/currency.rs
+++ b/src/plugins/currency.rs
@@ -132,7 +132,7 @@ impl Plugin for Currency {
}
fn execute(&mut self, _: &IrcServer, _: &Message) -> Result<(), IrcError> {
- Ok(())
+ panic!("Currency does not implement the execute function!")
}
fn command(&mut self, server: &IrcServer, mut command: PluginCommand) -> Result<(), IrcError> {