added Client command for 'to_string' conversion

no longer returns !error: back to the user when the client command needs to be returned from the server
This commit is contained in:
Mitch161 2020-07-20 20:08:51 +01:00
parent cfe48835ac
commit 9dff749432
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ impl ToString for Commands {
Commands::Disconnect(arguments) => { ("!disconnect:", arguments) },
Commands::ClientUpdate(arguments) => { ("!clientUpdate:", arguments) },
Commands::ClientInfo(arguments) => { ("!clientInfo:", arguments) },
Commands::Client(arguments) => { ("!client:", arguments) },
Commands::Error(arguments) => { ("!error:", arguments) },
_ => { ("!error:", &None) }
};