]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Rename `<link:ssl>` to `<link:sslprofile>`.
authorSadie Powell <sadie@witchery.services>
Wed, 10 Mar 2021 03:30:50 +0000 (03:30 +0000)
committerSadie Powell <sadie@witchery.services>
Wed, 10 Mar 2021 04:21:04 +0000 (04:21 +0000)
docs/conf/links.conf.example
src/modules/m_spanningtree/utils.cpp

index 3b25e86f4cedfe953315547c41e7bf0ccc63a339..7ced7170ec669f744e68ee94e07a4ac26f331942 100644 (file)
@@ -56,7 +56,7 @@
       # failover (see above).
       timeout="5m"
 
-      # ssl: If defined, this states the TLS (SSL) profile that will be used
+      # sslprofile: If defined, this states the TLS (SSL) profile that will be used
       # when making an outbound connection to the server. See the docs page for
       # the TLS (SSL) module you are using for more details:
       #
@@ -67,7 +67,7 @@
       # You will need to load the ssl_openssl module for OpenSSL, ssl_gnutls
       # for GnuTLS and ssl_mbedtls for mbedTLS. The server port that you
       # connect to must be capable of accepting this type of connection.
-      ssl="Servers"
+      sslprofile="Servers"
 
       # fingerprint: If defined, this option will force servers to be
       # authenticated using TLS (SSL) certificate fingerprints. See
index cd5cb508d0c0c06a14b7af259ef933a16620db74..daafa7efec36ce87a63ed80fb6fda39a07030332 100644 (file)
@@ -274,7 +274,7 @@ void SpanningTreeUtilities::ReadConfiguration()
                L->Fingerprint = tag->getString("fingerprint");
                L->HiddenFromStats = tag->getBool("statshidden");
                L->Timeout = tag->getDuration("timeout", 30);
-               L->Hook = tag->getString("ssl");
+               L->Hook = tag->getString("sslprofile", tag->getString("ssl"));
                L->Bind = tag->getString("bind");
                L->Hidden = tag->getBool("hidden");