Fix chat-cli to account for new case.

This commit is contained in:
Shane Handley 2019-10-17 13:51:26 +09:00 committed by timokoesters
parent ef6f8b509a
commit 833c1d06b2
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097

View File

@ -77,6 +77,9 @@ fn main() {
match event {
Event::Chat { message, .. } => println!("{}", message),
Event::Disconnect => {} // TODO
Event::DisconnectionNotification(time) => {
println!("{}", format!("Connection lost. Kicking in {} seconds", time))
}
}
}
// Clean up the server after a tick.