aboutsummaryrefslogtreecommitdiff
path: root/examples/01.rs
diff options
context:
space:
mode:
authorJames Ravenscroft2014-12-26 13:28:56 +0000
committerJames Ravenscroft2014-12-26 13:28:56 +0000
commit26a8e0c20cc1a300f8d03e152c9910839ce1cd53 (patch)
tree359daddc40ae855ff5eaaab24101a1e73fc01b6b /examples/01.rs
parent8d42ad9822e7e4b9e595bb2bd587a5da0db8ce9a (diff)
downloadirsc-26a8e0c20cc1a300f8d03e152c9910839ce1cd53.tar.gz
irsc-26a8e0c20cc1a300f8d03e152c9910839ce1cd53.tar.xz
irsc-26a8e0c20cc1a300f8d03e152c9910839ce1cd53.zip
Put examples back to how they were before and removed some into_string deprecated calls
Diffstat (limited to 'examples/01.rs')
-rw-r--r--examples/01.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/01.rs b/examples/01.rs
index ec35e5d..0bf51f5 100644
--- a/examples/01.rs
+++ b/examples/01.rs
@@ -24,7 +24,7 @@ fn callback(arg: (Server, Event)) {
fn main() {
let mut s = Server::new();
- s.connect("irc.aberwiki.org".into_string(), 6667).unwrap();
+ s.connect("irc.freenode.org".into_string(), 6667).unwrap();
s.nick(NAME).unwrap();
s.user(NAME, "*", "*", DESC).unwrap();
s.join("#botzoo").unwrap();