From a32511e0b70288cad6d4915b30956f3eb8728149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Fri, 1 Jan 2021 17:32:07 +0100 Subject: move mumble backend code to new client --- mumd/src/state.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mumd/src/state.rs') diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 85e5449..574d0cb 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -85,7 +85,10 @@ impl State { state } - pub fn handle_command(&mut self, command: Command) -> ExecutionContext { + pub fn handle_command( + &mut self, + command: Command, + ) -> ExecutionContext { match command { Command::ChannelJoin { channel_identifier } => { if !matches!(*self.phase_receiver().borrow(), StatePhase::Connected) { -- cgit v1.2.1