make sure 'tls' is defined

This commit is contained in:
jesopo 2021-12-09 23:49:40 +00:00
parent ac4c144d58
commit 05750f00d9
1 changed files with 2 additions and 0 deletions

View File

@ -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)