From ea3cd019142d2276ba9a6a9a3945143b18789873 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 9 Oct 2017 17:25:59 +0200 Subject: Only expose the run function --- src/lib.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/lib.rs') 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, -} +use plugin::PluginCommand; pub fn run() { let server = IrcServer::new("config.toml").unwrap(); -- cgit v1.2.3-70-g09d2