From ec34c10c24dfc36a5fce9619cc8eae7a95f03402 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Wed, 1 Jun 2022 13:39:07 +0300 Subject: [PATCH] fixed bug where disable account would crash the running instance --- aptbot/args_logic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aptbot/args_logic.py b/aptbot/args_logic.py index 2bc5709..8d143a2 100644 --- a/aptbot/args_logic.py +++ b/aptbot/args_logic.py @@ -61,7 +61,7 @@ def disable_account(s: socket.socket, acc: str): print(f"Account {acc} is already disabled.") command = BotCommands.PART.value - channel = "" + channel = acc msg = "" try: s.send(bytes(f"{command}==={channel}==={msg}", "utf-8")) -- 2.30.2