Moving the game port selection to settings.py for simplicity and security.

This commit is contained in:
Greg Taylor 2007-05-27 22:06:12 +00:00
parent 92165ade01
commit 7d869dff18
3 changed files with 7 additions and 7 deletions

View file

@ -123,4 +123,4 @@ mud_service = EvenniaService('Evennia Server')
# Sheet sheet, fire ze missiles!
serviceCollection = service.IServiceCollection(application)
internet.TCPServer(4000, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)
internet.TCPServer(settings.GAMEPORT, mud_service.getEvenniaServiceFactory()).setServiceParent(serviceCollection)