diff --git a/jenz_ban_detector/python/app.py b/jenz_ban_detector/python/app.py index cd3dcac6..3723f803 100644 --- a/jenz_ban_detector/python/app.py +++ b/jenz_ban_detector/python/app.py @@ -35,4 +35,4 @@ def get_answer(): if __name__ == "__main__": from waitress import serve - serve(app, host="localhost", port=5085) + serve(app, host="localhost", port=5085, threads = 8) diff --git a/jenz_ban_detector/scripting/jenz_ban_detector.sp b/jenz_ban_detector/scripting/jenz_ban_detector.sp index 5b089e85..7252c117 100644 --- a/jenz_ban_detector/scripting/jenz_ban_detector.sp +++ b/jenz_ban_detector/scripting/jenz_ban_detector.sp @@ -104,10 +104,6 @@ public void SQL_UpdateEntry(Database db, DBResultSet results, const char[] error g_dDatabase.Query(SQL_FindFingerPrints, sQuery, client, DBPrio_High); } delete results; - if (IsValidClient(client)) - { - g_bReportedClientBanAvoiding[client] = false; - } } public void SQL_FindFingerPrints(Database db, DBResultSet results, const char[] error, int client)