diff --git a/bot_callbacks.py b/bot_callbacks.py index 8676e14..8f91c2c 100644 --- a/bot_callbacks.py +++ b/bot_callbacks.py @@ -217,7 +217,6 @@ async def _on_cmd_bans(room: MatrixRoom, args: list[str]) -> None: if not bans: await _bot.send_text_to_room(room.room_id, "Нет заблокированных IP адресов", is_html=True) return - await _bot.send_text_to_room(room.room_id, f"Статус бана 127.0.0.1: {"БАН" if _db.ban_check("127.0.0.1") else "небан"}", is_html=True) # create the response result = "Список заблокированных IP