Remove droping on client side due to version mismatch

This commit is contained in:
Uriziel 2014-10-12 20:51:00 +02:00
parent 778fb21d0b
commit 7032a9634c
2 changed files with 0 additions and 5 deletions

View File

@ -270,9 +270,6 @@ en = {
"password-required-server-error" : "Password required",
"wrong-password-server-error" : "Wrong password supplied",
"hello-server-error" : "Not enough Hello arguments",
"version-mismatch-server-error" : "Mismatch between versions of client and server, please update your client or server software. Current client version is {}, while the server version: {}"
}
pl = {

View File

@ -78,8 +78,6 @@ class SyncClientProtocol(JSONCommandProtocol):
username, roomName, version, motd = self._extractHelloArguments(hello)
if not username or not roomName or not version:
self.dropWithError(getMessage("hello-server-error").format(hello))
elif version.split(".")[0:2] != syncplay.version.split(".")[0:2]:
self.dropWithError(getMessage("version-mismatch-server-error".format(hello)))
else:
self._client.setUsername(username)
self._client.setRoom(roomName)