Drop the "bye" command

This commit is contained in:
Firepup Sixfifty 2023-11-04 23:21:01 -05:00
parent 1f8877f0c8
commit 7e69632146
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -442,19 +442,6 @@ def main():
):
send("QUIT :Rebooting\n")
exit("Reboot")
elif (
name.lower() in adminnames
and message.rstrip().lower() == exitcode
):
sendmsg("oh...okay. :'(", chan)
for i in channels:
# print(f'[LOG][{server}] i="{i}" vs chan="{chan}"')
if i != chan.strip():
sendmsg("goodbye... :'(", i)
send("QUIT :Shutting down\n", "UTF-8")
log("QUIT", server)
exit("goodbye :'(")
# raise EOFError
elif sucheck(message):
if name.lower() in adminnames:
sendmsg(