aboutsummaryrefslogtreecommitdiff
path: root/src/server/world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/world.rs')
-rw-r--r--src/server/world.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/world.rs b/src/server/world.rs
index ddefd39..a7c65b3 100644
--- a/src/server/world.rs
+++ b/src/server/world.rs
@@ -124,7 +124,8 @@ impl WorldServer {
info!("message: {}", message);
for mut socket in &sockets {
- socket.1.write_all(&create_text_command(message)).unwrap();
+ // Using User as a placeholder. Ideally, this would print out the username of the one who sent it.
+ socket.1.write_all(&create_text_command("User", message)).unwrap();
}
}
// SESSEXIT