diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-01 17:32:07 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-01 17:32:07 +0100 |
| commit | a32511e0b70288cad6d4915b30956f3eb8728149 (patch) | |
| tree | 6e803be66c3963492b5a93968af2fe8ebb12bbf4 /mumd/src/state.rs | |
| parent | 67364577263943e815be9ba700c10845698e116d (diff) | |
| download | mum-a32511e0b70288cad6d4915b30956f3eb8728149.tar.gz | |
move mumble backend code to new client
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |
