From 0e5a0e490ce7b2d117fce79961d83dc48e1e7af3 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Wed, 8 Oct 2025 09:21:57 +0200 Subject: [PATCH] Update CommonClient.py --- CommonClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonClient.py b/CommonClient.py index 71cefaadef..b6261a4145 100644 --- a/CommonClient.py +++ b/CommonClient.py @@ -856,9 +856,9 @@ async def server_loop(ctx: CommonContext, address: typing.Optional[str] = None) server_url = urllib.parse.urlparse(address) if server_url.username: - args.name = urllib.parse.unquote(server_url.username) + ctx.auth = urllib.parse.unquote(server_url.username) if server_url.password: - args.password = urllib.parse.unquote(server_url.password) + ctx.password = urllib.parse.unquote(server_url.password) def reconnect_hint() -> str: return ", type /connect to reconnect" if ctx.server_address else ""