summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-04 12:01:43 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-04 12:01:43 -0400
commit1934d05dcc6dca723eca6a53ecd251923fda7fcd (patch)
tree9b9933154fa5f97a4899c056be466a55d209c309
parenta17de7ec09e41789d469a5c939894c54f494ad4e (diff)
downloadrust-irc-1934d05dcc6dca723eca6a53ecd251923fda7fcd.tar.gz
rust-irc-1934d05dcc6dca723eca6a53ecd251923fda7fcd.zip
this should use the host we're connecting to
-rw-r--r--src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs
index b26b078..3635312 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -66,7 +66,7 @@ impl ClientBuilder {
vec![
self.username.clone(),
"localhost".to_string(), // XXX
- "localhost".to_string(), // XXX
+ self.host.clone(),
self.realname.clone(),
],
)