From 8acd49fe098cfd5f0128679e1842218ce6061d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 22:59:23 +0200 Subject: [PATCH] omg --- server/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/server.py b/server/server.py index ae7238d..4eeecbf 100644 --- a/server/server.py +++ b/server/server.py @@ -33,10 +33,13 @@ class Server: if command == "LINOK": self.login(self.networkInstance.homeDirectory) self.networkInstance.sendMessage("OK".encode('UTF-8')) + return None elif command == "LINERROR": self.networkInstance.sendMessage("ERROR".encode('UTF-8')) + return None elif command == "ERROR": self.networkInstance.sendMessage("ERROR".encode('UTF-8')) + return None parsedCommand = command.split(" ") if len(parsedCommand) > 3: self.networkInstance.sendMessage("ERROR".encode('UTF-8'))