diff options
| author | Jokler <jokler.contact@gmail.com> | 2017-11-16 02:53:05 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2017-11-16 02:53:05 +0100 |
| commit | 15e855ddecfdac31ddda26b12fcfd1a142a0ec21 (patch) | |
| tree | b06e3bd122f5da69a7418c94e2a07fb4a529f897 /src/plugins/emoji.rs | |
| parent | cb07b259950d4762ceb609266cd1e8ae0ef60dad (diff) | |
| parent | b8c25860ad769a466e7c50bbbb51b653dd55ccfb (diff) | |
| download | frippy-15e855ddecfdac31ddda26b12fcfd1a142a0ec21.tar.gz frippy-15e855ddecfdac31ddda26b12fcfd1a142a0ec21.zip | |
Merge branch 'dev'v0.3.1
Diffstat (limited to 'src/plugins/emoji.rs')
| -rw-r--r-- | src/plugins/emoji.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/emoji.rs b/src/plugins/emoji.rs index 09d5c27..1bb714c 100644 --- a/src/plugins/emoji.rs +++ b/src/plugins/emoji.rs @@ -105,7 +105,7 @@ impl Plugin for Emoji { } } - fn execute(&mut self, server: &IrcServer, message: &Message) -> Result<(), IrcError> { + fn execute(&self, server: &IrcServer, message: &Message) -> Result<(), IrcError> { match message.command { Command::PRIVMSG(_, ref content) => { self.emoji(server, content, message.response_target().unwrap()) @@ -114,7 +114,7 @@ impl Plugin for Emoji { } } - fn command(&mut self, server: &IrcServer, command: PluginCommand) -> Result<(), IrcError> { + fn command(&self, server: &IrcServer, command: PluginCommand) -> Result<(), IrcError> { server.send_notice(&command.source, "This Plugin does not implement any commands.") } |
