diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-21 04:05:22 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-21 04:32:55 +0200 |
| commit | 9d865becb19e7ce870b23c4d96d9127baff44d56 (patch) | |
| tree | bff4da473fe4999c0b18eeae1014a42d40d73000 /mumd/src/state.rs | |
| parent | c0f24a185ebc270cbaa121cc8ce69ac8ba3f4d30 (diff) | |
| download | mum-9d865becb19e7ce870b23c4d96d9127baff44d56.tar.gz | |
minor changes
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 0822de0..1a02068 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -143,7 +143,7 @@ impl State { accept_invalid_cert, ))) .unwrap(); - (Some(TcpEvent::Connected), Box::new(|e| { + (Some(TcpEvent::Connected), Box::new(|e| { //runs the closure when the client is connected if let Some(TcpEventData::Connected(msg)) = e { Ok(Some(CommandResponse::ServerConnect { welcome_message: if msg.has_welcome_text() { |
