return error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-26 22:41:37 +02:00
parent 2d426a9f73
commit 784f065478
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -36,7 +36,7 @@ class Server:
elif command == "LINERROR": elif command == "LINERROR":
self.networkInstance.sendMessage("ERROR".encode('UTF-8')) self.networkInstance.sendMessage("ERROR".encode('UTF-8'))
elif command == "ERROR": elif command == "ERROR":
return None self.networkInstance.sendMessage("ERROR".encode('UTF-8'))
parsedCommand = command.split(" ") parsedCommand = command.split(" ")
if len(parsedCommand) > 3: if len(parsedCommand) > 3:
self.networkInstance.sendMessage("ERROR".encode('UTF-8')) self.networkInstance.sendMessage("ERROR".encode('UTF-8'))