From 9dff749432aa6dd6f51e0ed7cd93ab35aeae6d87 Mon Sep 17 00:00:00 2001 From: Mitch161 Date: Mon, 20 Jul 2020 20:08:51 +0100 Subject: [PATCH] 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 --- src/server/commands/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/commands/mod.rs b/src/server/commands/mod.rs index d836339..c40744b 100644 --- a/src/server/commands/mod.rs +++ b/src/server/commands/mod.rs @@ -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) } };