fix warnings

This commit is contained in:
griffi-gh 2023-05-21 02:16:34 +02:00
parent dc8229f929
commit 50c25dac34

View file

@ -6,16 +6,13 @@ use kubi_shared::networking::{
channels::{CHANNEL_WORLD, CHANNEL_BLOCK}, channels::{CHANNEL_WORLD, CHANNEL_BLOCK},
client::Client, client::Client,
}; };
use uflow::{ use uflow::{server::RemoteClient, SendMode};
server::{Event as ServerEvent, RemoteClient},
SendMode
};
use lz4_flex::compress_prepend_size as lz4_compress; use lz4_flex::compress_prepend_size as lz4_compress;
use anyhow::Result; use anyhow::Result;
use std::{rc::Rc, cell::RefCell}; use std::{rc::Rc, cell::RefCell};
use kubi_shared::networking::client::ClientIdMap; use kubi_shared::networking::client::ClientIdMap;
use crate::{ use crate::{
server::{UdpServer, ServerEvents, IsMessageOfType}, server::{UdpServer, ServerEvents},
config::ConfigTable, config::ConfigTable,
client::{ClientAddress, ClientAddressMap}, client::{ClientAddress, ClientAddressMap},
util::check_message_auth, util::check_message_auth,