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])
|
||||
elif (
|
||||
(
|
||||
mfind(message, [f"reboot {rebt}", f"reboot {gblrebt}"], False)
|
||||
or mfind(message, ["restart", "reboot"])
|
||||
)
|
||||
and name.lower() in adminnames
|
||||
):
|
||||
) and name.lower() in adminnames:
|
||||
send("QUIT :Rebooting\n")
|
||||
exit("Reboot")
|
||||
elif sucheck(message):
|
||||
|
|
Loading…
Reference in a new issue