From 34d6616b552a2a81442ab792332989abf9a6984b Mon Sep 17 00:00:00 2001 From: themanyfaceddemon Date: Fri, 11 Oct 2024 10:09:01 +0300 Subject: [PATCH] add some TODO and FIXME --- html/admin_panel.html | 2 +- misc/server_database.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/admin_panel.html b/html/admin_panel.html index 31e957b..deb708c 100644 --- a/html/admin_panel.html +++ b/html/admin_panel.html @@ -323,7 +323,7 @@

${translations[getCurrentLanguage()].updateFields}

modal.style.display = "block"; }); - async function banIP(ip, reason, date, duration) { + async function banIP(ip, reason, date, duration) { //FIXME let banDuration = null; if (duration === '0') { diff --git a/misc/server_database.py b/misc/server_database.py index bbe032f..40295aa 100644 --- a/misc/server_database.py +++ b/misc/server_database.py @@ -113,7 +113,7 @@ def remove_server(self, name: str) -> None: if self._ip_count[ip] == 0: del self._ip_count[ip] - def update_server( + def update_server( #TODO ip check self, name: str, ip: Optional[str] = None,