From a88dd50b2cf449cec46c7d7c0157c9621b530432 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Wed, 8 Oct 2025 22:29:33 +0200 Subject: [PATCH] Fix: typo --- core/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cli.py b/core/cli.py index 222cdd3..37ca6fa 100644 --- a/core/cli.py +++ b/core/cli.py @@ -164,7 +164,7 @@ def bulk_user_add(traffic_gb: float, expiration_days: int, count: int, prefix: s @click.option('--unlimited-ip/--limited-ip', 'unlimited_ip', default=None, help='Set user to be exempt from or subject to IP limits.') def edit_user(username: str, new_username: str, new_traffic_limit: int, new_expiration_days: int, renew_password: bool, renew_creation_date: bool, blocked: bool | None, unlimited_ip: bool | None): try: - cli_api.kick_user_by_name(username) + cli_api.kick_users_by_name(username) cli_api.traffic_status(display_output=False) cli_api.edit_user(username, new_username, new_traffic_limit, new_expiration_days, renew_password, renew_creation_date, blocked, unlimited_ip) @@ -765,4 +765,4 @@ def config_ip_limit(block_duration: int, max_ips: int): if __name__ == '__main__': - cli() \ No newline at end of file + cli()