From: Vincent Le Gallic Date: Sat, 9 Feb 2013 18:24:34 +0000 (+0100) Subject: boulet X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=99a8248b42e55993cea58e28ac94a816c709f090;p=bots%2Fbasile.git boulet --- diff --git a/basile.py b/basile.py index a87ed44..359c75f 100755 --- a/basile.py +++ b/basile.py @@ -71,7 +71,7 @@ def connect_NK(): sock=socket.socket() try: # On établit la connexion sur port 4242 - sock.connect((config.NKserver, config.NKport)) + sock.connect((config.nk_server, config.nk_port)) # On passe en SSL sock=ssl.wrap_socket(sock,ca_certs='../keys/ca_.crt') # On fait un hello diff --git a/config.py b/config.py index 2fefc1c..75826c1 100644 --- a/config.py +++ b/config.py @@ -16,7 +16,7 @@ quiet_channels=[] note_pseudo="Basile" note_password="NK2015BasileB0tr4nd0omp4assword]6_+{#]78{" nk_server = "bde2.crans.org" -nk_port = "4242" +nk_port = 4242 # les logs logfile_template="basile.%s.log"