From cc4c07025b46f25496a3b49bea01b54d9bc7dcf9 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sat, 14 Jan 2017 12:35:08 +0100 Subject: [PATCH] Sending thread fix --- src/class_sendDataThread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class_sendDataThread.py b/src/class_sendDataThread.py index f6d15c26..2fed7071 100644 --- a/src/class_sendDataThread.py +++ b/src/class_sendDataThread.py @@ -92,7 +92,7 @@ class sendDataThread(threading.Thread): uploadRateLimitBytes = BMConfigParser().getint('bitmessagesettings', 'maxuploadrate') * 1000 if ((self.services & protocol.NODE_SSL == protocol.NODE_SSL) and self.connectionIsOrWasFullyEstablished and - shared.haveSSL(not self.initiatedConnection)): + protocol.haveSSL(not self.initiatedConnection)): amountSent = self.sslSock.send(data[:1000]) else: amountSent = self.sock.send(data[:1000])