diff options
| author | 2022-01-25 13:59:42 +0000 | |
|---|---|---|
| committer | 2022-01-25 14:02:36 +0000 | |
| commit | d79147e7afe2eca34780c607f78b11f8b3dd017d (patch) | |
| tree | a3f9a145dd53f9c1c268ac9b521ac907b802eab0 /src/modules/m_ircv3_sts.cpp | |
| parent | Fix a few Doxygen comment errors. (diff) | |
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_ircv3_sts.cpp')
| -rw-r--r-- | src/modules/m_ircv3_sts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_ircv3_sts.cpp b/src/modules/m_ircv3_sts.cpp index 3b9794a96..cbfb45464 100644 --- a/src/modules/m_ircv3_sts.cpp +++ b/src/modules/m_ircv3_sts.cpp @@ -25,7 +25,7 @@ class STSCap final : public Cap::Capability { - private: +private: std::string host; std::string plaintextpolicy; std::string securepolicy; @@ -68,7 +68,7 @@ class STSCap final return SSLIOHook::IsSSL(&user->eh) ? &securepolicy : &plaintextpolicy; } - public: +public: STSCap(Module* mod) : Cap::Capability(mod, "sts") { @@ -128,7 +128,7 @@ class STSCap final class ModuleIRCv3STS final : public Module { - private: +private: STSCap cap; // The IRCv3 STS specification requires that the server is listening using TLS using a valid certificate. @@ -151,7 +151,7 @@ class ModuleIRCv3STS final return false; } - public: +public: ModuleIRCv3STS() : Module(VF_VENDOR | VF_OPTCOMMON, "Adds support for the IRCv3 Strict Transport Security specification.") , cap(this) |
