From 7f5e5ef4b2ea7f5ae068c4b508f9724d9c0e4e11 Mon Sep 17 00:00:00 2001 From: Hipstercat Date: Mon, 22 Apr 2019 23:14:14 +0200 Subject: [PATCH] Updated my server --- masterserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masterserver.py b/masterserver.py index 432b8c3..b69b301 100644 --- a/masterserver.py +++ b/masterserver.py @@ -6,7 +6,7 @@ import traceback SERVERS = [{"ip": "136.143.97.184", "port": 19711, "last":datetime.datetime.now()}, {"ip": "73.181.147.35", "port": 19711, "last": datetime.datetime.now()}, - {"ip": "g.hipstercat.fr", "port": 19711, "last": datetime.datetime.now()}] + {"ip": "artolsheim.hipstercat.fr", "port": 19711, "last": datetime.datetime.now()}] def main(): listen_ip = "0.0.0.0" @@ -79,7 +79,7 @@ def cleanloop(): now = datetime.datetime.now() for server in SERVERS: if now > server["last"] + datetime.timedelta(minutes=2): - if server["ip"] == "136.143.97.184" or server["ip"] == "73.181.147.35" or server["ip"] == "g.hipstercat.fr": + if server["ip"] == "136.143.97.184" or server["ip"] == "73.181.147.35" or server["ip"] == "artolsheim.hipstercat.fr": # do not remove usual dedicated servers continue print("Deleting %s:%s" % (server["ip"], server["port"]))