Show an error and exit when invalid oper credentials are given.

master
Sven Slootweg 12 years ago
parent 9c61027919
commit 7840020dfc

@ -100,5 +100,8 @@ while True:
sock.send("QUIT :rakill.py bot killer\r\n")
time.sleep(1)
exit(0)
elif parts[0] == "491":
print "Invalid oper credentials given."
exit(1)
time.sleep(0.005)

Loading…
Cancel
Save