[+] rl.parse_console

This commit is contained in:
2024-07-15 17:41:14 +03:00
parent c4a34c6630
commit 2eb7e8801b
2 changed files with 54 additions and 7 deletions

View File

@@ -23,6 +23,8 @@ class TCPServer:
self.port = port
self.run = False
self.rl = RateLimiter(50, 10, 300)
console.add_command("rl", self.rl.parse_console, None, "RateLimiter menu",
{"rl": {"info": None, "unban": None, "ban": None, "help": None}})
async def auth_client(self, reader, writer):
client = self.Core.create_client(reader, writer)