diff --git a/Cargo.toml b/Cargo.toml index 0c39a84..2b57587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "irc" -version = "0.4.0" +version = "0.4.1" description = "A simple, thread-safe IRC client library." authors = ["Aaron Weiss "] license = "Unlicense" diff --git a/src/conn.rs b/src/conn.rs index 04f5ecb..6337fe4 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -81,7 +81,7 @@ impl Connection, BufferedWriter> { let ssl_socket = try!(ssl_to_io(SslStream::new(&ssl, socket))); Ok(Connection::new( BufferedReader::new(NetStream::SslTcpStream(ssl_socket.clone())), - BufferedWriter::new(NetStream::SslTcpSteram(ssl_socket)), + BufferedWriter::new(NetStream::SslTcpStream(ssl_socket)), )) } }