Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: default to use_ssl=True, port=6697 #2277

Merged
merged 1 commit into from
May 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions sopel/config/core_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,21 +1006,21 @@ def homedir(self):
``systemd`` or similar.
"""

port = ValidatedAttribute('port', int, default=6667)
port = ValidatedAttribute('port', int, default=6697)
"""The port to connect on.

:default: ``6667`` normally; ``6697`` if :attr:`use_ssl` is ``True``
:default: ``6697``

.. highlight:: ini

**Required**::

port = 6667
port = 6697

And usually when SSL is enabled::
Or if SSL is disabled::

port = 6697
use_ssl = yes
port = 6667
use_ssl = false

"""

Expand Down Expand Up @@ -1213,16 +1213,16 @@ def homedir(self):

"""

use_ssl = BooleanAttribute('use_ssl', default=False)
use_ssl = BooleanAttribute('use_ssl', default=True)
"""Whether to use a SSL/TLS encrypted connection.

:default: ``False``
:default: ``True``

Example with SSL on:
Example with SSL off:

.. code-block:: ini

use_ssl = yes
use_ssl = false

"""

Expand All @@ -1248,7 +1248,7 @@ def homedir(self):

.. code-block:: ini

use_ssl = yes
verify_ssl = yes
use_ssl = true
verify_ssl = true

"""