This commit is contained in:
parent
034f1e3403
commit
8acd49fe09
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user