Adding newline to commands while in transit error

pull/5/head
JPaul 10 years ago
parent bcae376dd0
commit 39fbb218f4

@ -329,7 +329,7 @@ func runCommand(conn *Connection, name string, args ...string) {
} }
if conn.InTransit() && !cmd.mobile { if conn.InTransit() && !cmd.mobile {
fmt.Fprintf(conn, "command %s can not be used while in transit", name) fmt.Fprintf(conn, "command %s can not be used while in transit\n", name)
return return
} }
cmd.handler(conn, args...) cmd.handler(conn, args...)

Loading…
Cancel
Save