]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
boulet
authorVincent Le Gallic <basile@crans.org>
Sat, 9 Feb 2013 18:24:34 +0000 (19:24 +0100)
committerVincent Le Gallic <basile@crans.org>
Sat, 9 Feb 2013 18:24:34 +0000 (19:24 +0100)
basile.py
config.py

index a87ed448cbf76022f39debc4c8ff39dc9b93bb58..359c75f951b76a4fcc79800e0788c48dcfd5eeac 100755 (executable)
--- 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
index 2fefc1c2d070bd34cc5fd5a894fe7c084f4573d8..75826c1cd589565c867f99f9c575f9156c86ac26 100644 (file)
--- 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"