From ed63c35b81c7810ca58c320ebd81fa2c3c7f5fa0 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sun, 5 Nov 2023 21:13:59 -0600 Subject: [PATCH] Formatting --- ircbot.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ircbot.py b/ircbot.py index 60a3b6d..d47dd42 100644 --- a/ircbot.py +++ b/ircbot.py @@ -451,12 +451,9 @@ def main(): ): sendraw(message.split(" ", 1)[1]) elif ( - ( - mfind(message, [f"reboot {rebt}", f"reboot {gblrebt}"], False) - or mfind(message, ["restart", "reboot"]) - ) - and name.lower() in adminnames - ): + mfind(message, [f"reboot {rebt}", f"reboot {gblrebt}"], False) + or mfind(message, ["restart", "reboot"]) + ) and name.lower() in adminnames: send("QUIT :Rebooting\n") exit("Reboot") elif sucheck(message):