Typo in src/IRCServer.py; 'self.AF_INET' -> 'socket.AF_INET'
This commit is contained in:
parent
7baab0f7d7
commit
1065bba3ef
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class Server(IRCObject.Object):
|
|||
self.socket = context.wrap_socket(self.socket)
|
||||
|
||||
def connect(self):
|
||||
family = self.AF_INET if self.ipv4 else socket.AF_INET6
|
||||
family = socket.AF_INET if self.ipv4 else socket.AF_INET6
|
||||
self.socket = socket.socket(family, socket.SOCK_STREAM)
|
||||
self.socket.settimeout(5.0)
|
||||
if bindhost:
|
||||
|
|
Loading…
Reference in a new issue