make sure 'tls' is defined
This commit is contained in:
parent
ac4c144d58
commit
05750f00d9
1 changed files with 2 additions and 0 deletions
|
@ -65,5 +65,7 @@ class ConnectionParams(object):
|
|||
elif not port_s:
|
||||
tls = False
|
||||
port_s = "6667"
|
||||
else:
|
||||
tls = False
|
||||
|
||||
return ConnectionParams(nickname, host, int(port_s), tls)
|
||||
|
|
Loading…
Add table
Reference in a new issue