Skip to content

Commit

Permalink
add some TODO and FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
themanyfaceddemon committed Oct 11, 2024
1 parent 8cb0f1a commit 34d6616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/admin_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h3>${translations[getCurrentLanguage()].updateFields}</h3>
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') {
Expand Down
2 changes: 1 addition & 1 deletion misc/server_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 34d6616

Please sign in to comment.