aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.py b/server.py
index 73b74c7..9e8ccf6 100755
--- a/server.py
+++ b/server.py
@@ -88,7 +88,7 @@ def keep_connection(conn, addr, connections):
continue
command, username, body = data_tuple
- do_command(command, username, body, broadcast_fun, sender)
+ do_command(command, username, body, broadcast_fun, conn)
conn.close()
connections.remove(conn)