mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
supybot-wizard: Ask SSL after port and don't say it needs Twisted
This commit is contained in:
parent
0888104e28
commit
fc8493ad8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user