We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a431911 commit b366290Copy full SHA for b366290
config-example.py
@@ -16,9 +16,6 @@
16
# only announce once every 5 minutes, so this should be more than 300.
17
PURGE_TIME = 350
18
19
-# List of banned IP addresses
20
-BANLIST = []
21
-
22
# Creates server entries if a server sends an 'update' and there is no entry yet.
23
# This should only be used to populate the server list after list.json was deleted.
24
# This WILL cause problems such as mapgen, mods and privilege information missing from the list
server.py
@@ -36,9 +36,6 @@ def announce():
36
if ip.startswith("::ffff:"):
37
ip = ip[7:]
38
39
- if ip in app.config["BANLIST"]:
40
- return "Banned.", 403
41
42
data = request.form["json"] if request.method == "POST" else request.args["json"]
43
44
if len(data) > 5000:
0 commit comments