diff options
| author | 2020-11-03 22:30:58 +0000 | |
|---|---|---|
| committer | 2020-11-03 22:30:58 +0000 | |
| commit | 3075cc7bd0aa6db5752e76183c267d091584705f (patch) | |
| tree | 0dc08804108dd3391e158ed79a2bbedfed0911dc /src/modules/extra | |
| parent | Store the SQL row id in the synthesised sqloper config tags. (diff) | |
Move config typedefs to ServerConfig and use auto in more places.
Diffstat (limited to 'src/modules/extra')
| -rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 2 | ||||
| -rw-r--r-- | src/modules/extra/m_ssl_mbedtls.cpp | 2 | ||||
| -rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 2f509bf9e..2190def6c 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -1125,7 +1125,7 @@ class ModuleSSLGnuTLS : public Module // avoiding unpleasant situations where no new TLS (SSL) connections are possible. ProfileList newprofiles; - ConfigTagList tags = ServerInstance->Config->ConfTags("sslprofile"); + auto tags = ServerInstance->Config->ConfTags("sslprofile"); if (tags.empty()) throw ModuleException("You have not specified any <sslprofile> tags that are usable by this module!"); diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp index 10107e2f9..4a95329fa 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -858,7 +858,7 @@ class ModuleSSLmbedTLS : public Module // avoiding unpleasant situations where no new TLS (SSL) connections are possible. ProfileList newprofiles; - ConfigTagList tags = ServerInstance->Config->ConfTags("sslprofile"); + auto tags = ServerInstance->Config->ConfTags("sslprofile"); if (tags.empty()) throw ModuleException("You have not specified any <sslprofile> tags that are usable by this module!"); diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 199fe4189..a8c09eec3 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -905,7 +905,7 @@ class ModuleSSLOpenSSL : public Module void ReadProfiles() { ProfileList newprofiles; - ConfigTagList tags = ServerInstance->Config->ConfTags("sslprofile"); + auto tags = ServerInstance->Config->ConfTags("sslprofile"); if (tags.empty()) throw ModuleException("You have not specified any <sslprofile> tags that are usable by this module!"); |
