Commit 0d755dee authored by nanahira's avatar nanahira

because someone complains

parent b708a39e
Pipeline #18628 passed with stage
in 9 seconds
......@@ -358,8 +358,8 @@ def searchban(screen_name):
#print(returnjson["tests"]["ghost"])
# No search ban => No ghost ban
#if returnjson["tests"]["search"] and returnjson["tests"]["search"] != "_error" and "ban" in returnjson["tests"]["ghost"] and returnjson["tests"]["ghost"]["ban"] == True:
# returnjson["tests"]["ghost"]["ban"] = False
if returnjson["tests"]["search"] and returnjson["tests"]["search"] != "_error" and "ban" in returnjson["tests"]["ghost"] and returnjson["tests"]["ghost"]["ban"] == True:
returnjson["tests"]["ghost"]["ban"] = False
# No ghost ban && unknown more replies => No more replies ban
if "ban" not in returnjson["tests"]["more_replies"] and "ban" in returnjson["tests"]["ghost"] and returnjson["tests"]["ghost"]["ban"] == False:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment