Formatting

This commit is contained in:
Firepup Sixfifty 2023-11-05 21:13:59 -06:00
parent e494008775
commit ed63c35b81
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -451,12 +451,9 @@ def main():
): ):
sendraw(message.split(" ", 1)[1]) sendraw(message.split(" ", 1)[1])
elif ( elif (
(
mfind(message, [f"reboot {rebt}", f"reboot {gblrebt}"], False) mfind(message, [f"reboot {rebt}", f"reboot {gblrebt}"], False)
or mfind(message, ["restart", "reboot"]) or mfind(message, ["restart", "reboot"])
) ) and name.lower() in adminnames:
and name.lower() in adminnames
):
send("QUIT :Rebooting\n") send("QUIT :Rebooting\n")
exit("Reboot") exit("Reboot")
elif sucheck(message): elif sucheck(message):