From 7e69632146a01ee911398565df5448ec7b8d2e01 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Sat, 4 Nov 2023 23:21:01 -0500 Subject: [PATCH] Drop the "bye" command --- ircbot.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ircbot.py b/ircbot.py index 36aabbf..9f0c70a 100644 --- a/ircbot.py +++ b/ircbot.py @@ -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(