aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorZachary Dremann <dremann@gmail.com>2014-06-09 22:49:14 -0400
committerZachary Dremann <dremann@gmail.com>2014-06-09 22:49:14 -0400
commitc1c93595f0d532ed169537d1b52168288e989f2c (patch)
treecaa81fa35eb4015c3eb1094a4af67a20fc0196cf /examples
parent6eac9deb6231ee345d2d19f54761a4820f0c345b (diff)
downloadrusty-irc-c1c93595f0d532ed169537d1b52168288e989f2c.tar.gz
rusty-irc-c1c93595f0d532ed169537d1b52168288e989f2c.zip
Better Message Parsing
Diffstat (limited to 'examples')
-rw-r--r--examples/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/client.rs b/examples/client.rs
index d37bb40..ba8c1de 100644
--- a/examples/client.rs
+++ b/examples/client.rs
@@ -17,7 +17,7 @@ fn main() {
drop(args);
- let mut connection = IrcClient::connect(host.as_slice(), port, "Dr-Emann".to_string(), "dremann".to_string(), "Zachary Dremann".to_string()).unwrap();
+ let mut connection = IrcClient::connect(host.as_slice(), port, "rusty-irc".to_string(), "dremann".to_string(), "Zachary Dremann".to_string()).unwrap();
let on_msg = |message: &Message| {
println!("{}", *message);