From: Georgios Atheridis Date: Wed, 1 Jun 2022 10:39:07 +0000 (+0300) Subject: fixed bug where disable account would crash the running instance X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=ec34c10c24dfc36a5fce9619cc8eae7a95f03402;p=personal%2Faptbot.git fixed bug where disable account would crash the running instance --- 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"))