Add fetch-channel command
This commit is contained in:
parent
970c1ee2c2
commit
244a7073fe
9 changed files with 183 additions and 54 deletions
src
|
@ -57,8 +57,7 @@ fn read_response(connection: &mut Telnet, skip_ok: bool, mut buffer: String) ->
|
|||
if skip_ok {
|
||||
read_response(connection, skip_ok, buffer)
|
||||
} else {
|
||||
// empty Ok response
|
||||
Ok(Response::Data(Vec::new()))
|
||||
Ok(Response::Ok)
|
||||
}
|
||||
} else {
|
||||
Err(format!("Received error response from Teamspeak: {} ({})", err.msg, err.id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue