From 3a5af6144fcd26d5d462e8c478dcbe98956364a0 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 30 Mar 2017 15:16:46 +0300 Subject: Broadcast only the message body without username --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.py') diff --git a/server.py b/server.py index b7d5c28..8123e88 100755 --- a/server.py +++ b/server.py @@ -42,7 +42,7 @@ def do_command(command, username, body, bc): elif command == "DISCONNECT": bc("User {} has disconnected".format(username), username) elif command == "MESSAGE": - bc("{}: {}".format(username, body), username) + bc("{}".format(body), username) elif command == "KEEPALIVE": pass else: -- cgit v1.3