This commit is contained in:
blackbeard420 2023-12-28 17:36:24 -05:00
parent 65961e8523
commit 8709c50551
Signed by: blackbeard420
GPG Key ID: 88C719E09CDDA4A5

View File

@ -60,9 +60,13 @@ async fn main() -> Result<(), failure::Error> {
let outerr = String::from_utf8_lossy(&out.stderr); let outerr = String::from_utf8_lossy(&out.stderr);
let output = String::from_utf8_lossy(&out.stdout); let output = String::from_utf8_lossy(&out.stdout);
let all = outerr + output; let lines = outerr.lines();
let lines = all.lines(); for l in lines {
sender.send_privmsg(target, l)?;
}
let lines = output.lines();
for l in lines { for l in lines {
sender.send_privmsg(target, l)?; sender.send_privmsg(target, l)?;