Drop the "bye" command
This commit is contained in:
parent
1f8877f0c8
commit
7e69632146
1 changed files with 0 additions and 13 deletions
13
ircbot.py
13
ircbot.py
|
@ -442,19 +442,6 @@ def main():
|
||||||
):
|
):
|
||||||
send("QUIT :Rebooting\n")
|
send("QUIT :Rebooting\n")
|
||||||
exit("Reboot")
|
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):
|
elif sucheck(message):
|
||||||
if name.lower() in adminnames:
|
if name.lower() in adminnames:
|
||||||
sendmsg(
|
sendmsg(
|
||||||
|
|
Loading…
Reference in a new issue