|
|
|
@ -203,10 +203,8 @@ impl Client {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn send_tune(&self) -> std::io::Result<()> {
|
|
|
|
|
let mut stream = connect(self.nick.to_owned())?;
|
|
|
|
|
thread::spawn(move || {
|
|
|
|
|
let _ = stream.write(b"PRIVMSG #wownero-music !tune\r\n");
|
|
|
|
|
});
|
|
|
|
|
let stream = connect(self.nick.to_owned())?;
|
|
|
|
|
thread::spawn(move || send_cmd(&stream, "PRIVMSG", "#wownero-music !tune".to_owned()));
|
|
|
|
|
Ok(())
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|