Fix supybot-wizard for disabling SSL.

Answering 'no' kept the default value for SSL, which is
True since c3dd5f8b64.
This commit is contained in:
Valentin Lorentz 2016-06-27 20:14:17 +02:00
parent 7b658e714b
commit ea89e4b784

View File

@ -393,8 +393,8 @@ def main():
output("""Most networks allow you to use a secure connection via SSL. output("""Most networks allow you to use a secure connection via SSL.
If you are not sure whether this network supports SSL or not, check If you are not sure whether this network supports SSL or not, check
its website.""") its website.""")
if yn('Do you want to use an SSL connection?', default=True): use_ssl = yn('Do you want to use an SSL connection?', default=True):
network.ssl.setValue(True) network.ssl.setValue(use_ssl)
output("""IRC servers almost always accept connections on port output("""IRC servers almost always accept connections on port
6697 (or 6667 when not using SSL). They can, however, accept connections 6697 (or 6667 when not using SSL). They can, however, accept connections