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:
|
elif not port_s:
|
||||||
tls = False
|
tls = False
|
||||||
port_s = "6667"
|
port_s = "6667"
|
||||||
|
else:
|
||||||
|
tls = False
|
||||||
|
|
||||||
return ConnectionParams(nickname, host, int(port_s), tls)
|
return ConnectionParams(nickname, host, int(port_s), tls)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue