diff options
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) { |
