supybot-wizard: Ask SSL after port and don't say it needs Twisted

This commit is contained in:
nyuszika7h 2014-05-17 09:31:56 +02:00
parent 0888104e28
commit fc8493ad8a
1 changed files with 7 additions and 9 deletions

View File

@ -405,6 +405,13 @@ def main():
server = ':'.join([serverString, str(port)])
network.servers.setValue([server])
if advanced:
# conf.supybot.networks.<network>.ssl
output("""Some servers allow you to use a secure connection via SSL.
This requires having pyOpenSSL installed.""")
if yn('Do you want to use an SSL connection?', default=False):
network.ssl.setValue(True)
# conf.supybot.nick
# Force the user into specifying a nick if it didn't have one already
while True:
@ -447,15 +454,6 @@ def main():
else:
conf.supybot.ident.set(defaultIdent)
if advanced:
# conf.supybot.networks.<network>.ssl
output("""Some servers allow you to use a secure connection via SSL.
This requires having pyOpenSSL installed. Currently, you also need
Twisted installed as only the Twisted drivers supports SSL
connections.""")
if yn('Do you want to use an SSL connection?', default=False):
network.ssl.setValue(True)
# conf.supybot.networks.<network>.password
output("""Some servers require a password to connect to them. Most
public servers don't. If you try to connect to a server and for some