Add another reboot command (#17)

Closes #15

Add another reboot command 3ea8908bc6
Make the hot dog happy, because happy hot dog = yummy hot dog 15c18193a9\
de-f it 74cbcdc7a2
Make the flaming hot dog even happier, almost ready to eat! 6aecc9e8f2

Reviewed-on: https://git.amcforum.wiki/Firepup650/fire-ircbot/pulls/17
Reviewed-by: Firepup Sixfifty <firepyp650@gmail.com>
Co-authored-by: 9pfs <9pfs@amcforum.wiki>
Co-committed-by: 9pfs <9pfs@amcforum.wiki>
This commit is contained in:
9pfs 2023-11-06 03:11:58 +00:00 committed by Firepup Sixfifty
parent f29de567c0
commit e494008775

View file

@ -451,7 +451,10 @@ 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
):
send("QUIT :Rebooting\n")