aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-10-09 17:25:59 +0200
committerJokler <jokler.contact@gmail.com>2017-10-11 15:41:32 +0200
commitea3cd019142d2276ba9a6a9a3945143b18789873 (patch)
treef359e24e50bef334ab5db715c6d21e240ac113ea /src/lib.rs
parentb56541e40f3138d85a8f4f17453be30075f1dead (diff)
downloadfrippy-ea3cd019142d2276ba9a6a9a3945143b18789873.tar.gz
frippy-ea3cd019142d2276ba9a6a9a3945143b18789873.zip
Only expose the run function
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4cb6c44..efd15fd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -14,13 +14,7 @@ use irc::proto::Command::PRIVMSG;
use irc::error::Error as IrcError;
use plugin::Plugin;
-
-#[derive(Clone, Debug)]
-pub struct PluginCommand {
- source: String,
- target: String,
- tokens: Vec<String>,
-}
+use plugin::PluginCommand;
pub fn run() {
let server = IrcServer::new("config.toml").unwrap();