Formatting
This commit is contained in:
parent
e494008775
commit
ed63c35b81
1 changed files with 3 additions and 6 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue