From 36eeca7db6c0687dedd0ae2c1e244b9b9ec0cd8d Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Mon, 19 Jun 2017 14:46:34 -0400 Subject: [PATCH] Changed examples to point to `#irc-crate`. --- examples/multithreaded.rs | 2 +- examples/simple.rs | 2 +- examples/simple_ssl.rs | 2 +- examples/tweeter.rs | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/multithreaded.rs b/examples/multithreaded.rs index 6317f94..80c54f7 100644 --- a/examples/multithreaded.rs +++ b/examples/multithreaded.rs @@ -8,7 +8,7 @@ fn main() { let config = Config { nickname: Some("pickles".to_owned()), server: Some("irc.fyrechat.net".to_owned()), - channels: Some(vec!["#vana".to_owned()]), + channels: Some(vec!["#irc-crate".to_owned()]), ..Default::default() }; let server = IrcServer::from_config(config).unwrap(); diff --git a/examples/simple.rs b/examples/simple.rs index 310ef87..3b1fce7 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -8,7 +8,7 @@ fn main() { nickname: Some("pickles".to_owned()), alt_nicks: Some(vec!["bananas".to_owned(), "apples".to_owned()]), server: Some("irc.fyrechat.net".to_owned()), - channels: Some(vec!["#vana".to_owned()]), + channels: Some(vec!["#irc-crate".to_owned()]), ..Default::default() }; let server = IrcServer::from_config(config).unwrap(); diff --git a/examples/simple_ssl.rs b/examples/simple_ssl.rs index 3c451f6..054bca3 100644 --- a/examples/simple_ssl.rs +++ b/examples/simple_ssl.rs @@ -7,7 +7,7 @@ fn main() { let config = Config { nickname: Some("pickles".to_owned()), server: Some("irc.fyrechat.net".to_owned()), - channels: Some(vec!["#vana".to_owned()]), + channels: Some(vec!["#irc-crate".to_owned()]), port: Some(6697), use_ssl: Some(true), ..Default::default() diff --git a/examples/tweeter.rs b/examples/tweeter.rs index 12ed6bc..a49b761 100644 --- a/examples/tweeter.rs +++ b/examples/tweeter.rs @@ -9,7 +9,7 @@ fn main() { let config = Config { nickname: Some("pickles".to_owned()), server: Some("irc.fyrechat.net".to_owned()), - channels: Some(vec!["#vana".to_owned()]), + channels: Some(vec!["#irc-crate".to_owned()]), ..Default::default() }; let server = IrcServer::from_config(config).unwrap(); @@ -20,7 +20,7 @@ fn main() { server2.iter().map(|m| print!("{}", m.unwrap())).count(); }); loop { - server.send_privmsg("#vana", "TWEET TWEET").unwrap(); + server.send_privmsg("#irc-crate", "TWEET TWEET").unwrap(); sleep(Duration::new(10, 0)); } }