diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 15:28:23 +0000 |
commit | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch) | |
tree | d4d1fded5c14350eb003a665ca8de500a0440cea /modules/extra/m_ldap_authentication.cpp | |
parent | 398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff) |
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/extra/m_ldap_authentication.cpp')
-rw-r--r-- | modules/extra/m_ldap_authentication.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/extra/m_ldap_authentication.cpp b/modules/extra/m_ldap_authentication.cpp index 0de029cdf..f3ccb9ba7 100644 --- a/modules/extra/m_ldap_authentication.cpp +++ b/modules/extra/m_ldap_authentication.cpp @@ -36,7 +36,8 @@ struct IdentifyInfo } }; -class IdentifyInterface : public LDAPInterface +class IdentifyInterface + : public LDAPInterface { IdentifyInfo *ii; @@ -127,7 +128,8 @@ public: } }; -class OnIdentifyInterface : public LDAPInterface +class OnIdentifyInterface + : public LDAPInterface { Anope::string uid; @@ -172,7 +174,8 @@ public: } }; -class OnRegisterInterface : public LDAPInterface +class OnRegisterInterface + : public LDAPInterface { public: OnRegisterInterface(Module *m) : LDAPInterface(m) { } @@ -188,7 +191,8 @@ public: } }; -class ModuleLDAPAuthentication : public Module +class ModuleLDAPAuthentication + : public Module { ServiceReference<LDAPProvider> ldap; OnRegisterInterface orinterface; |