diff --git a/src/lib.rs b/src/lib.rs index 7c3b67a..96e5757 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -71,7 +71,7 @@ impl IrcWrite for IrcStream { } impl IrcStream { - fn new(stream: S) -> Self { + pub fn new(stream: S) -> Self { Self{ stream, buffer: String::new()