This commit is contained in:
sidya82 2015-04-02 17:56:09 +02:00
parent dee6d9e6cd
commit 3ac76d2b55
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def handleRequest(connection, data):
def broadcastMsg(connection,message):
for con, value in usersConnected.items() :
if usersConnected[con][1] is not None or con != connection:
if usersConnected[con][1] is not None and con != connection:
try:
con.sendall(message.encode())
except Exception as e :