protocols/logging: revert debug hack that was incorrectly committed

This commit is contained in:
Sebastien Bourdeauducq 2015-10-21 09:54:39 +08:00
parent ec02bea054
commit a58e41684b
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class Server(AsyncioServer):
return
line = line[:-1]
linesplit = line.split(":", 3)
if len(linesplit) != 2:
if len(linesplit) != 4:
logger.warning("received improperly formatted message, "
"dropping connection")
return