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])
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):