Add message to ts-control
This commit is contained in:
parent
fa959136be
commit
a9fd240bd3
2 changed files with 32 additions and 16 deletions
src
|
@ -109,7 +109,7 @@ impl MessageArgs {
|
|||
Ok(SendTextMessageTarget::Server)
|
||||
} else if let Some(client) = &self.client {
|
||||
if let Some(client) = wrappers::find_client(connection, client, self.strict_client)? {
|
||||
return Ok(SendTextMessageTarget::Client(client.cid));
|
||||
return Ok(SendTextMessageTarget::Client(client.clid));
|
||||
}
|
||||
return Err("Could not find client.".to_string());
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue