diff options
| author | Jokler <jokler.contact@gmail.com> | 2017-12-11 03:51:57 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2017-12-11 03:51:57 +0100 |
| commit | be3661ca2115ab704697b45628ed9984b924ad76 (patch) | |
| tree | 1d0b7f3afcf22cc75f71cab65e57aabc2aa2d9a9 /src/plugin.rs | |
| parent | df4d91e5a4b5cca1757d4cfac8849e7cd6b5524d (diff) | |
| download | frippy-be3661ca2115ab704697b45628ed9984b924ad76.tar.gz frippy-be3661ca2115ab704697b45628ed9984b924ad76.zip | |
Remove needless allocation & fix typo
Diffstat (limited to 'src/plugin.rs')
| -rw-r--r-- | src/plugin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin.rs b/src/plugin.rs index fb01168..d2338f9 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -10,7 +10,7 @@ pub trait Plugin: PluginName + Send + Sync + fmt::Debug { fn is_allowed(&self, server: &IrcServer, message: &Message) -> bool; /// Handles messages which are not commands but still necessary. fn execute(&self, server: &IrcServer, message: &Message) -> Result<(), IrcError>; - /// Handles any command directed at this plugina. + /// Handles any command directed at this plugin. fn command(&self, server: &IrcServer, command: PluginCommand) -> Result<(), IrcError>; } |
