diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2017-03-30 15:16:46 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2017-03-30 15:16:46 +0300 |
| commit | 3a5af6144fcd26d5d462e8c478dcbe98956364a0 (patch) | |
| tree | 1a73d0a28b47f46f9f9ce9a43c433fe76ee3ae64 /server.py | |
| parent | 59513d6c833e5697e1c7a3beb3816c49799461be (diff) | |
Broadcast only the message body without username
Diffstat (limited to 'server.py')
| -rwxr-xr-x | server.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |
