mirror of https://github.com/Shizmob/pydle.git
Fix typo.
This commit is contained in:
parent
65fc70002e
commit
9e35d669e6
|
@ -314,7 +314,7 @@ class Connection:
|
||||||
sent_messages = []
|
sent_messages = []
|
||||||
with self.send_queue_lock:
|
with self.send_queue_lock:
|
||||||
# ssl.SSLSocket does not allow any flags to be added to send().
|
# ssl.SSLSocket does not allow any flags to be added to send().
|
||||||
if not tls and hasattr(socket, 'MSG_NOSIGNAL'):
|
if not self.tls and hasattr(socket, 'MSG_NOSIGNAL'):
|
||||||
send_flags = socket.MSG_NOSIGNAL
|
send_flags = socket.MSG_NOSIGNAL
|
||||||
else:
|
else:
|
||||||
send_flags = 0
|
send_flags = 0
|
||||||
|
|
Loading…
Reference in New Issue