newline
This commit is contained in:
parent
61135c2804
commit
7531feed1b
@ -39,7 +39,7 @@ async fn main() -> Result<(), failure::Error> {
|
|||||||
|
|
||||||
let output = String::from_utf8_lossy(&out.stdout);
|
let output = String::from_utf8_lossy(&out.stdout);
|
||||||
|
|
||||||
let lines = output.split("\n");
|
let lines = output.lines();
|
||||||
|
|
||||||
for l in lines {
|
for l in lines {
|
||||||
sender.send_privmsg(target, l)?;
|
sender.send_privmsg(target, l)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user