Compare commits

..

No commits in common. "9de4990d69ee56518f500520aa344e85d1b2d61c" and "1259db8212dff417df864b5271c0a35286cc97f7" have entirely different histories.

View File

@ -39,7 +39,7 @@ r = "\x034"
g = "\x033" g = "\x033"
context = ssl.create_default_context() context = ssl.create_default_context()
with socket.socket(socket.AF_INET6, socket.SOCK_STREAM) as sock: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
irc = context.wrap_socket(sock, server_hostname=host) irc = context.wrap_socket(sock, server_hostname=host)
@ -263,11 +263,11 @@ def start(host, port, nick, password, chans):
sleep(6) sleep(6)
auth(nick, password) auth(nick, password)
sleep(2) sleep(2)
mode(nick)
sleep(2)
for chan in chans: for chan in chans:
join(chan) join(chan)
sleep(2) sleep(2)
mode(nick)
sleep(2)
except Exception as err: except Exception as err:
print("FAIL: "+err) print("FAIL: "+err)