diff options
Diffstat (limited to 'src/server/distributor.rs')
| -rw-r--r-- | src/server/distributor.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/distributor.rs b/src/server/distributor.rs index 4e7a694..fe3bea7 100644 --- a/src/server/distributor.rs +++ b/src/server/distributor.rs @@ -18,7 +18,7 @@ use tokio_stream::StreamExt; use tokio_util::codec::{BytesCodec, Decoder}; use crate::{ - config::get_config, + config::Config, server::{ cmd::{ commands::{ @@ -87,8 +87,8 @@ impl Server for Distributor { peer.bytes.get_mut() .write_all(&create_text(Text { - sender: get_config()?.worldsmaster_username, - content: get_config()?.worldsmaster_greeting, + sender: Config::get()?.whirlsplash.worldsmaster_username, + content: Config::get()?.distributor.worldsmaster_greeting, })).await?; peer.bytes.get_mut() .write_all(&create_action()).await?; |