diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /modules/extra/m_ldap_authentication.cpp | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'modules/extra/m_ldap_authentication.cpp')
-rw-r--r-- | modules/extra/m_ldap_authentication.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/extra/m_ldap_authentication.cpp b/modules/extra/m_ldap_authentication.cpp index f3ccb9ba7..1b8318d7e 100644 --- a/modules/extra/m_ldap_authentication.cpp +++ b/modules/extra/m_ldap_authentication.cpp @@ -17,7 +17,7 @@ static Anope::string object_class; static Anope::string email_attribute; static Anope::string username_attribute; -struct IdentifyInfo +struct IdentifyInfo final { Reference<User> user; IdentifyRequest *req; @@ -36,7 +36,7 @@ struct IdentifyInfo } }; -class IdentifyInterface +class IdentifyInterface final : public LDAPInterface { IdentifyInfo *ii; @@ -128,7 +128,7 @@ public: } }; -class OnIdentifyInterface +class OnIdentifyInterface final : public LDAPInterface { Anope::string uid; @@ -174,7 +174,7 @@ public: } }; -class OnRegisterInterface +class OnRegisterInterface final : public LDAPInterface { public: @@ -191,7 +191,7 @@ public: } }; -class ModuleLDAPAuthentication +class ModuleLDAPAuthentication final : public Module { ServiceReference<LDAPProvider> ldap; |