Lobby server: in the "Game unreachable" message, sent when the connection test fails, give the port number of the game server, not the lobby server

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7343 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2009-05-06 19:37:27 +00:00 committed by Git SVN Gateway
parent a71b83b91b
commit a43e84e0fd
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class RequestHandler(SocketServer.ThreadingMixIn, SocketServer.StreamRequestHand
if not protocol.check(self.g):
logging.debug("(%s) Removing unreachable game" % self.gameHost)
self.sendStatusMessage(self.CLIENT_ERROR_NOT_ACCEPTABLE, 'Game unreachable, failed to open a connection to: [%s]:%d' % (self.g.host, protocol.lobbyPort))
self.sendStatusMessage(self.CLIENT_ERROR_NOT_ACCEPTABLE, 'Game unreachable, failed to open a connection to: [%s]:%d' % (self.g.host, protocol.gamePort))
return
self.sendStatusMessage(self.SUCCESS_OK, MOTDstring)