From 8850795a9ba2fea96471cd3a0e92f957376a3a53 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 3 Jul 2023 15:11:06 -0300 Subject: Do not allow statusup2() in item database (disable fruits) --- merge-server.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/merge-server.py b/merge-server.py index d9a7f4b..3b4eecb 100755 --- a/merge-server.py +++ b/merge-server.py @@ -15,6 +15,9 @@ os.chdir("..") item_db=[] def parse(l, offset, prefix): + # Disabled commands + l=l.replace('statusup2', '//statusup2') + # Parsing block if "\tId:" in l: tmp=l.split("Id:") try: @@ -58,6 +61,8 @@ def parse(l, offset, prefix): with open("%s/db/re/item_db.conf" % MOUBOO, "r") as f: for l in f: #l=l.replace(" ", "\t") + ## Disabled commands + l=l.replace('statusup2', '//statusup2') ## Add headers if "== License ==" in l: item_db.append("//=========================================================================\n") -- cgit v1.2.3-70-g09d2